Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pulsewidth947

macrumors 65816
Original poster
I want to learn basic PHP so I can have a form to update news on my website. This will *eventually* allow me to make a widget so that I can update news from there without having to load safari.

Anyways, I've got my hosting supplier installing mysql now, and I'd like to learn how exactly I send to the database, and more specifically, how load from the database into a PHP page so my information displays nicely on the page 😀
 
I first learned PHP from a book called PHP and MySQL Web Development by Luke Welling and Laura Thompson (published by SAMS). I think it's been revised a few times since I first bought it, but, I feel it was an excellent book at teaching PHP, whether you're a beginner or have some programming experience with other languages.
 
I hadnt actually, no. Thanks for the reply, but I've since scrapped the idea of tutorials.

I'm very lucky in that I've got two friends from University who know PHP and are talking me through it. It's getting easier, but I'm still getting stuck from newbie mistakes like missing commas etc! Oh well.. it aint so bad.
 
pulsewidth947 said:
I hadnt actually, no. Thanks for the reply, but I've since scrapped the idea of tutorials.

I'm very lucky in that I've got two friends from University who know PHP and are talking me through it. It's getting easier, but I'm still getting stuck from newbie mistakes like missing commas etc! Oh well.. it aint so bad.
Yea, it's so easy to forget a semi-colon or to use two equal signs when doing string comprisons instead of one, and other little stuff like that. It just takes practice, but, PHP is pretty easy to use and yet powerful.
 
davecuse said:
I just picked up an O'Reilly book, "Learning PHP 5" and it's been an excellent resource so far.
Yeah I quite like those O'Reilly books, I might have a read of that when I'm in a bookshop. 'cept I'll want v4.. maybe i can hit the discount bookshops 😀

MontyZ said:
Yea, it's so easy to forget a semi-colon or to use two equal signs when doing string comprisons instead of one, and other little stuff like that. It just takes practice, but, PHP is pretty easy to use and yet powerful.
Yeah I can see myself mixing up the == and = sometime soon!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.