Ker je ze kar nekaj ljudi na tem forumu sprasevalo, katero knjigo prebrat, da se naucijo PHP in MySQL, bom tole objavil se tukaj.
SpinX me je prosil, ce malo pogledam eno knjigo, ce je primerna za ucenje... Naslov knjige je Beginning PHP 5 and MySQL 5 - From Novice to Professional (second edition), avtor W. Jason Gilmore.
Pa sem jo na hitro preletel in lahko recem, da je izredno temeljita, dobro razlozi zadeve in bi jo takole na prvi pogled priporocil tudi ostalim.
Sem sicer v njej ob preletu nasel eno "napako", ki pa ni smrtna :)
There are two important differences between require() and include(). First, the file will be included in the script in which the require() construct appears, regardless of where require() is located. For instance, if require() were placed within an if statement that evaluated to false, the file would be included anyway!
The second important difference is that script execution will stop if a require() fails, whereas it may continue in the case of an include(). One possible explanation for the failure of a require() statement is an incorrectly referenced target path.
Prve razlike namrec od verzije 4.0.2 ni vec, pa vseeno, napaka ni smrtna, pa jo lahko oprostimo, kajne? :)