mehdi_php Posted September 28, 2008 Share Posted September 28, 2008 i want to show mysql query vertically , but i don't know how can somebody help me ? Link to comment https://forums.phpfreaks.com/topic/126136-show-query-results-verticaliy/ Share on other sites More sharing options...
john-formby Posted September 28, 2008 Share Posted September 28, 2008 Can you post the code you are using? Link to comment https://forums.phpfreaks.com/topic/126136-show-query-results-verticaliy/#findComment-652247 Share on other sites More sharing options...
mehdi_php Posted September 28, 2008 Author Share Posted September 28, 2008 i try to do somthing like this http://www.art.com/asp/display-asp/_/ID--1833/Scenic.htm?ui=CDDA756DC5CD4872AB383D6383106717 as you can see there is query results in vertical alignment i'm really try to do somthing like this but i can't hope you help me out . here is my code : <?php foreach($rs as $r) { echo '<tr><td>'; echo '<table> <tr><td>'.$r->xid.'</td></tr> <tr><td>'.$r->xuserid.'</td></tr> <tr><td>'.$r->xartname.'</td></tr> <tr><td>'.$r->xartdim.'</td></tr> <tr><td>'.$r->xartframe.'</td></tr> <tr><td>'.$r->xartprice.'</td></tr></table>'; echo '</tr></td>'; } echo '</td></tr></table>'; ?> Link to comment https://forums.phpfreaks.com/topic/126136-show-query-results-verticaliy/#findComment-652249 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.