Greaser9780 Posted February 15, 2007 Share Posted February 15, 2007 Statement works like this: while ($list = mysql_fetch_array($res)) { echo "{$list['clan_name']} "; } ? is how do I use $list to display multiplefields Quote Link to comment Share on other sites More sharing options...
zq29 Posted February 15, 2007 Share Posted February 15, 2007 You change the array key to something else... Quote Link to comment Share on other sites More sharing options...
Greaser9780 Posted February 15, 2007 Author Share Posted February 15, 2007 elaborate please Quote Link to comment Share on other sites More sharing options...
zq29 Posted February 15, 2007 Share Posted February 15, 2007 echo "{$list['clan_age']}; echo "{$list['clan_colour']}; Quote Link to comment Share on other sites More sharing options...
Greaser9780 Posted February 15, 2007 Author Share Posted February 15, 2007 What I used was: $clan_name = $list["clan_name"]; $wins = $list["wins"]; $losses = $list["losses"]; echo("$clan_name $wins $losses "); 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.