| | |
syntax error
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
i have this line of code which i cannot see a problem with but i keep getting an error.
the error i keep getting is
the values are being passed to this page fine but it still gives me this error.
any help would be much appreciated.
PHP Syntax (Toggle Plain Text)
$sql= "INSERT INTO emails (Firstname, Lastname, email, table) VALUES ('$a', '$b', '$c', '$table')";
the error i keep getting is
PHP Syntax (Toggle Plain Text)
Error: You have an error in your SQL syntax near 'table) VALUES ('kevin', 'wood', 'kevin_wood@xxxxxxxx', 'news')' at line 1
the values are being passed to this page fine but it still gives me this error.
any help would be much appreciated.
![]() |
Similar Threads
- syntax error? .. operator overload method problemo (C)
- syntax error that I just can't seem to find! (Visual Basic 4 / 5 / 6)
- UPDATE syntax error (MySQL)
- Subshell Problem, syntax error...Help please! (Shell Scripting)
- DECLARATION SYNTAX ERROR (for bc 31 user) (C++)
- Parse error, syntax error, Forbids declaration (C++)
Other Threads in the PHP Forum
- Previous Thread: Help on php n mysql
- Next Thread: Array Recurission Question
| Thread Tools | Search this Thread |
apache api array beginner binary body broken cakephp checkbox class cms code cron curl database date date/time delete display dynamic echo email error file files filter folder form forms function functions gc_maxlifetime global google host href htaccess html image include insert ip javascript joomla limit link list login mail memmory memory menu mlm msqli_multi_query multiple mycodeisbad mysql navigation oop parameter parsing paypal pdf php problem query radio random recourse recursion regex remote script search seo server sessions sms snippet soap source space sql static syntax system table thesishelp tutorial update upload url validator variable video web webdesign wordpress xml youtube






I am good. Thanks! I hope you are doing great too. Cheers man! 