Posted by geevaa on 05/02/07 04:08
Hi group,
My program is
<?php
mysqli_connect('ns1','tdphp8','tdphp8')or die('connection error');
print'hai';
?>
===========================================================
my output is
[tdphpadmin@conws60 ~/public_html/demo]$ php sql.php
PHP Fatal error: Call to undefined function mysqli_connect() in /
home/
tdphpadmin/public_html/demo/sql.php on line 2
X-Powered-By: PHP/5.2.0
Content-type: text/html
===========================================================
In the web browser,Everything works good and
i am not getting the error or die message.
actually database connection is established and data insertion data
retrival are sucessfull
but i am receiving this error in terminal.
please help
[Back to original message]
|