Using More Than One $results

windows

Guest
Hey all<br /><br />I have a page that uses a similar query.<br /><br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->$result = mysql_query ("SELECT aaa,bbb,ccc,ddd<br /> ??????????鐕淩OM eee,fff,gggg<br /> ??????????鐕盚ERE xxx = xxxxxx<br /> ??????????鐕桸D yyyyy = yyyyyyyyyy<br /> ??????????鐕桸D zzzzz = zzzzzzzzz<br /> ??????????鐕≧DER BY gggggggg");<!--c2--></div><!--ec2--><br /><br />How do I do more than one query on the same page? Can I use <b>$result</b> again? or use <b>$result[1]</b> or something similar. I think I can handle it from there- just need a little direction.<br /><br />Thanks!<!--content-->
I personally just make a new variable called like $result1 so I can use the data from both results further on in the code. Good Luck!<!--content-->
nice thanks- let me dig in and re-post my progress.<br /><br />thanks!<!--content-->
 
Top