xing184 Posted March 29, 2007 Share Posted March 29, 2007 I met some troubles, i want to create a html table by php and it would arrange the data from mysql as below that shown <tr><td>DataRow0</td> | <td>DataRow1</td></tr> <tr><td>DataRow2</td> | <td>DataRow3</td></tr> <tr><td>DataRow4</td> | i have tried to use looping but failed, can anyone give me a lesson, thanks. Link to comment https://forums.phpfreaks.com/topic/44767-php-help-table-controlling/ Share on other sites More sharing options...
DeathStar Posted March 29, 2007 Share Posted March 29, 2007 Why the hell would you use looping for that? mysql_query("SELECT * FROM `table` WHERE `this`=$that ORDER BY `this`"); Link to comment https://forums.phpfreaks.com/topic/44767-php-help-table-controlling/#findComment-217342 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.