Jake Posted July 27, 2007 Share Posted July 27, 2007 print "[url='javascript: history.go(-1)']Here Are all the current wars. Now, what else do you wish to discuss?[/url] "; print "[b]Attacker [b]Defender [b]Length {$war['Name1']} {$war['Name2']} {$war['DaysOld']} Days I know its messy and stuff, but still... Why is this only printing one result? There should be 3 results. Quote Link to comment Share on other sites More sharing options...
Jake Posted July 27, 2007 Author Share Posted July 27, 2007 Re: Table Returns single result $w=mysql_query("SELECT * FROM Wars", $c); $war=mysql_fetch_array($w); $wan=mysql_num_rows($w); if($wan==0) { print "<center>There Are Currently No Wars, Sire. [url='javascript: history.go(-1)']Back[/url]"; } else { Then i have the table shown above. Quote Link to comment Share on other sites More sharing options...
Jake Posted July 27, 2007 Author Share Posted July 27, 2007 Re: Table Returns single result Thanks very much :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.