Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

( #191513=categorized answer: print w/ replies, xml ) Need Help??

Q&A > database programming > What are some common causes of syntax errors in queries? 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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (14)
As of 2015-07-29 13:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls