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 Link to comment https://forums.phpfreaks.com/topic/38601-solved-list-with-multiple-selctions/ 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... Link to comment https://forums.phpfreaks.com/topic/38601-solved-list-with-multiple-selctions/#findComment-185245 Share on other sites More sharing options...
Greaser9780 Posted February 15, 2007 Author Share Posted February 15, 2007 elaborate please Link to comment https://forums.phpfreaks.com/topic/38601-solved-list-with-multiple-selctions/#findComment-185246 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']}; Link to comment https://forums.phpfreaks.com/topic/38601-solved-list-with-multiple-selctions/#findComment-185267 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 "); Link to comment https://forums.phpfreaks.com/topic/38601-solved-list-with-multiple-selctions/#findComment-185278 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.