Re: Bug #10497 Updated: Not connect with MySql
| From: | Erick Tomás Izquierdo Cerra | Date: | Wed, 25 Apr 2001 20:19:50 +0000 |
| Subject: | Re: Bug #10497 Updated: Not connect with MySql | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-52429@lists.php.net to get a copy of this message | ||
this is the error:
Fatal error: Maximum execution time of 30 seconds exceeded in D:\Mis Documentos\Web\temp\ok.php on
line 2
and this is the script:
<?
$db = mysql_connect("localhost","root");
mysql_select_db(portal,$db);
$query = "select hora from noticias order by fecha";
$r_noticias = mysql_query($query);
$rw_noticias = mysql_numrows($r_noticias);
if ($rw_noticias)
while($a_noticias = mysql_fetch_array($r_noticias)) $hora= $a_noticias[hora];
.......
?>
ok; thanks
Erick Tomás Izquierdo Cerra.
Ing. Automática y Computación.
CITMATEL.