You;ll get it working.
I suggest the following resources.
http://www.php.net/
http://www.phpfreaks.com
http://www.mySQL.com
check out this book, its a good primer on builidng sites in apache, PHP and mySQL. covers all the basics.
PHP and MySQL Web Development, Second Edition
by Luke Welling (Author), Laura Thomson (Author)