List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:August 27 1999 11:42pm
Subject:Re: A little code help.
View as plain text  
> Your second suggestion is the way I need to do it, but I think my syntax is
>wrong:
>
>$query = "SELECT Qno FROM queue
>WHERE status='raw' ORDER BY due_date ASC LIMIT 1";
>$result = "UPDATE queue SET Status='idle'
>WHERE Qno=mysql_query($query)";

I think so, too! :-)

What language are you using?  Your code looks like it could be either
DBI or PHP...

--
Paul DuBois, paul@stripped
Northern League Chronicles: http://www.snake.net/nl/
Thread
A little code help.Z Mehta27 Aug
  • Re: A little code help.Micheal Mc Evoy28 Aug
  • Re: A little code help.Paul DuBois28 Aug
  • Re: A little code help.Z Mehta28 Aug
    • Re: A little code help.Paul DuBois28 Aug
    • Re: A little code help.Paul DuBois28 Aug
  • Re: A little code help.Z Mehta28 Aug