Hi i'm new to PHP and MySQL and im using the php&mysql for dummies book! ive installed mysql 5 and im trying to test it with the code give in the book! I've copied to code word for word but this error appears:
Parse error: parse error, expecting `')'' in /home/httpd/vhosts/cpacreative.com/httpdocs/allan/mysql_up.php on line 24
the line of code it is refering to is as follows:
for ($i = 0; $i < mysql_num_rows($result); $i++ {
help please!
Parse error: parse error, expecting `')'' in /home/httpd/vhosts/cpacreative.com/httpdocs/allan/mysql_up.php on line 24
the line of code it is refering to is as follows:
for ($i = 0; $i < mysql_num_rows($result); $i++ {
help please!