|
Posted by Jerry Stuckle on 10/18/07 11:01
jcoder wrote:
> actually there's no error msg..it just gave me blank page.
>
> <?php
> mysql_connect("localhost","root","123") or die("cannot connect");
> echo'ok';
> ?>
>
> even the work "ok" is not showing either. im wondering, if my password
> or username, or the host is wrong it should give me the msg "cannot
> connect", but there's nothing. and if i restart apache, no error msgs
> also.
>
>
OK, then in your php.ini file, enable display_errors and set
error_reporting to E_ALL. That will get you some error messages.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|