Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: if statement problem using mysql

by Eliya (Vicar)
on May 31, 2012 at 15:05 UTC ( #973546=note: print w/ replies, xml ) Need Help??


in reply to if statement problem using mysql

while (@option - $sth1 ->fetchrow_array()){ ^

Is this a typo?


Comment on Re: if statement problem using mysql
Download Code
Re^2: if statement problem using mysql
by CreationP (Initiate) on May 31, 2012 at 16:05 UTC

    Dear Eliya, No it wasn't a typo. I don't know why but I thought it was the correct form. I changed the '-' to '=' and worked as intended. Thank you very much for scanning my code and finding out the error. You guys here in perlmonks are lifesavers!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://973546]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (14)
As of 2015-07-02 08:45 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 (31 votes), past polls