[thelist] PHP/MySQL odd problem

Matt Warden mwarden at gmail.com
Fri Jul 9 14:41:49 CDT 2004


On Fri, 09 Jul 2004 13:58:44 -0400, Mr. Tenuta <dtportnoy at videotron.ca> wrote:
> Hello,
> 
> Well here's my problem:
> 
> <?php
> $res = mysql_query("SELECT * FROM freeroll_menu WHERE category = 'freeroll_main' ORDER BY order_num", $link);
> ?>
> 
> Seems I can't use SELECT twice on the same page... I have no clue why, anyone ever run into this problem? The syntax works the first time but not the second time. When i do: or die(mysql_error()); It dies but doesn't report any error...
> 

What is the syntax you are using for your second SELECT attempt?

-- 

Matt Warden
Berry Neuroscience Lab
Department of Psychology
Miami University



This email proudly and graciously contributes to entropy.


More information about the thelist mailing list