Jump to content

show query results verticaliy


mehdi_php

Recommended Posts

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>';
?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.