Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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?

Replies are listed 'Best First'.
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?
[ikegami]: I tunashish, you tunafish, we all tunafish!
[thezip]: Why all the screaming???
[Discipulus]: tunashish is a smoking test?
[oiskuu]: .oO( Lots of poorly tuned pianos await in thezip's hell. )
[thezip]: Apparently I have already reached my destination...
[erix]: pianola's :P
[oiskuu]: Prepare your piano with tuna and your cat will show you some love.

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2017-11-17 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (272 votes). Check out past polls.

    Notices?