RE: [PHP] what syntax error are they talking about?
| From: | Jay Blanchard | Date: | Thu, 30 Sep 2004 19:40:04 +0000 |
| Subject: | RE: [PHP] what syntax error are they talking about? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-198328@lists.php.net to get a copy of this message | ||
[snip]
Error message:
"You have an error in your SQL syntax. Check the manual that
corresponds to your MySQL server version for the right syntax to use
near '(20),username text (10),password varchar (10))' at line 1"
[/snip]
We'd have to see the whole query. Can you echo $sql and give us the
whole thing?
[snip]
A separate question:
What is the meaning of the "." on each end of the
".$_POST[field_length][$i]." ?
[/snip]
Those are concatenation operators. If I say foo . bar it becomes foobar