in reply to What are some common causes of syntax errors in queries?
one way to solve it is to assign a default value right away when you declare variables with my.
ie:
or the other way to get around is to use the following:$user2 ="user2"; $pass2 ="*****";
hope this helps.no warnings;
|
|---|