ID: 37936 Updated by: [EMAIL PROTECTED] Reported By: nimce4u at gmail dot com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Windows XP Pro PHP Version: 5.1.4 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php http://www.php.net/manual/en/language.basic-syntax.instruction-separation.php Previous Comments: ------------------------------------------------------------------------ [2006-06-27 20:23:26] nimce4u at gmail dot com Description: ------------ I learn PHP and I know that we have to type the ; character in the end of every line.. and one time I forgot to type ; in line 3 (mysql_select_db("magazine")) and I didn't get any error about this! I must get an error: Parse error: parse error, unexpected T_STRING... please fix it... :-) Reproduce code: --------------- <?php mysql_connect("localhost","nimce",""); mysql_select_db("magazine") ?> Expected result: ---------------- I must get an error: Parse error: parse error, unexpected T_STRING because I forgot to type ; in the end of the line 3: mysql_select_db("magazine") Actual result: -------------- I didn't get any error message... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37936&edit=1
