php-db | 2001071
Date: 07/05/01
- Next message: Andrew Hill: "RE: [PHP-DB] odbc and inner joins..."
- Previous message: Adv. Systems Design: "[PHP-DB] Cookie is set?"
- In reply to: jong jong: "[PHP-DB] how to get ERROR message"
- Next in thread: Dobromir Velev: "Re: [PHP-DB] how to get ERROR message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
echo mysql_error();
Allen Lee
http://MissoulaWeb.com
$10/month PHP4 and MySQL hosting
On Thu, 5 Jul 2001, jong jong wrote:
> Hi,
>
> How can I see the error message from browser? My code
> is like this:
> <html><body>
> <?
> $conn=mssql_connect("xxx","xxxx","xxxxxxxx");
> mssql_select_db("xxx",$conn);
> $result=mssql_query("exec xxxxx") or die("query
> failed");
> mssql_free_result($result);
> ?>
> </body></html>
>
> I got "query failed" on the browser screen and nothing
> else. Here is some value I got from phpinfo():
> Configuration
> PHP Core
> Directive Local value Master value
> display_errors On On
> display_startup_errors
> Off Off
> doc_root no value no value
> enable_dl On On
> error_append_string Off Off
> error_log no value no value
> error_prepend_string
> Off Off
> error_reporting 2039 2039
>
> Are they enough to display the error messages?
> Please help! I really do need to trace the errors.
>
> Thanks,
> jongjong
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andrew Hill: "RE: [PHP-DB] odbc and inner joins..."
- Previous message: Adv. Systems Design: "[PHP-DB] Cookie is set?"
- In reply to: jong jong: "[PHP-DB] how to get ERROR message"
- Next in thread: Dobromir Velev: "Re: [PHP-DB] how to get ERROR message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

