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. Quote 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? Quote 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 Quote 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]; } Quote 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? Quote 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 Quote 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? Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/86004-help-me-please/#findComment-439220 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.