hi guys i want to display all my data in table format
i try following code but it gives error :" Fatal error: Maximum execution time of 30 seconds exceeded in C:\Temp\5Aug2010\test.php on line 35 "
this is my code :
<?php
// Connects to your Database
mysql_connect("localhost", "root", "") or die(mysql_error());
mysql_select_db("spip210x100726120331") or die(mysql_error());
$select = "select nom from spip_meta where impt='non'";
$add_news = mysql_query($select) or trigger_error(mysql_error().$select);
mysql_close();
?>
<table border="0">
<tr><td>nom</td></tr>
<?php
while($num=mysql_numrows($add_news))
{
$userid = $num['nom'];
?>
<tr>
<td width="30px"> <?php $userid ?></td>
</tr>
<?php } ?>
</table>