|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-05-06 01:12 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 18:00:01 2025 UTC |
Note the trailing whitespace in query: <? mysql_select_db("test"); mysql_query("select * from tab; "); echo mysql_error(); ?> Result: You have an error in your SQL syntax near '; ' at line 1 Again, note the trailing whitespace. Without it, it's OK. It's particullary annoying with heredoc syntax.