Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Answer: What are some common causes of syntax errors in queries?

by Anonymous Monk
on Aug 20, 2002 at 17:01 UTC ( #191513=categorized answer: print w/replies, xml ) Need Help??

Q&A > database programming > What are some common causes of syntax errors in queries? - Answer contributed by Anonymous Monk

i get similar error using "my" keyword to declare variable. one way to solve it is to assign a default value right away when you declare variables with my. ie: $user2 ="user2"; $pass2 ="*****"; or the other way to get around is to use the following: no warnings; hope this helps.

  • Comment on Answer: What are some common causes of syntax errors in queries?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the voices are still...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2018-01-19 03:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (215 votes). Check out past polls.

    Notices?