Hi.... how can we create tables in php, i have been searching on google but couldn't find relevant material plz help guys, thanks in advance. waiting your reply friend
Try looking here first http://www.w3schools.com/php/php_mysql_create.asp It would be better to create tables through phpMyAdmin or something, unless you need dynamic tables for some reason.
eh, I didn't think of that. If you mean HTML Tables, all you need to do is use echo. echo '<table><tr><td>test</td></td></table>'; PHP:
echo '<table>'; echo '<tr>'; while(){ echo ''<td> ur content</td>'; } echo '</tr>'; echo '</table>'; or echo '<table>'; while(){ echo '<tr>'; echo ''<td> ur content</td>'; echo '</tr>'; } echo '</table>';
You ca create table in PHP same as in HTML but you have to place them between echo " here is your table code";
There's lots of ways to create tables in PHP as kaviarasankk have demonstrated - just choose the best one that suits your need.