salhzmzm Posted January 14, 2008 Share Posted January 14, 2008 hi I need to show some information from my DB so how I can do this but I want to show them in horizontal line so how I can do this. thanks. Link to comment https://forums.phpfreaks.com/topic/86004-help-me-please/ Share on other sites More sharing options...
tinker Posted January 14, 2008 Share Posted January 14, 2008 what code u usin to extract an iterate through your code? Link to comment https://forums.phpfreaks.com/topic/86004-help-me-please/#findComment-439189 Share on other sites More sharing options...
revraz Posted January 14, 2008 Share Posted January 14, 2008 http://www.phpfreaks.com/forums/index.php/topic,6264.0.html Link to comment https://forums.phpfreaks.com/topic/86004-help-me-please/#findComment-439193 Share on other sites More sharing options...
salhzmzm Posted January 14, 2008 Author Share Posted January 14, 2008 some thing like that $a = mysql_query("select * from mytable"); while ($b = mysql_fetch_array($a)) { echo $b[myrow]; } Link to comment https://forums.phpfreaks.com/topic/86004-help-me-please/#findComment-439199 Share on other sites More sharing options...
tinker Posted January 14, 2008 Share Posted January 14, 2008 I use privoxy and tor, so am I missing some adverts or something? echo "<table><tr>"; $a = mysql_query("select * from mytable"); while ($b = mysql_fetch_array($a)) { echo "<td>".$b[myrow]."</td>"; } echo "</tr></table>"; I'm assuming that there's only one element in your rows. Or is your problem that it's too big for the page and you need it to span? Link to comment https://forums.phpfreaks.com/topic/86004-help-me-please/#findComment-439204 Share on other sites More sharing options...
salhzmzm Posted January 14, 2008 Author Share Posted January 14, 2008 thank you very match now I Know where was my false Link to comment https://forums.phpfreaks.com/topic/86004-help-me-please/#findComment-439209 Share on other sites More sharing options...
salhzmzm Posted January 14, 2008 Author Share Posted January 14, 2008 another question please? if I want to show four rows in one line. not all of them in one. how I can do this? Link to comment https://forums.phpfreaks.com/topic/86004-help-me-please/#findComment-439212 Share on other sites More sharing options...
tinker Posted January 14, 2008 Share Posted January 14, 2008 http://www.phpfreaks.com/forums/index.php/topic,95426.0.html Link to comment https://forums.phpfreaks.com/topic/86004-help-me-please/#findComment-439220 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.