Hi,
Sometime for various reasons, errors are not rendered in the web
browser, instead after loading the page, view the source, to see the
raw output of the page. If in IE,
click "view" -> "source". Is the raw output blank as well?
coz.
On 7/17/05, Linda H <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm running MySQL 4.0.21, Apache 2.0.52 and PHP 5.0.2 on a Windows XP
> system. I can run scripts with PHP and HTML statements and see correct
> output in my browser. But when I try to connect to MySQL I get nothing,
> including no error messages.
>
> One book I have says to run the following scrip to test the connection. It
> should print either the Resource name or an error message:
>
> <?php
> echo mysql_connect ('localhost','calendar','pass1234'); # host, user,
> password
> ?>
>
> I get no output at all, and if the statement is placed in a larger script,
> above html/PHP output, it suppresses that as well.
>
> Using the mysql monitor from the DOS command prompt, I can connect as user
> 'calendar' with password 'pass1234', select a database and execute SQL
> statements successfully.
>
> Can anyone help me figure out why I can't seem to connect, please?
>
> Linda
>
>
>
>
>
> The php_mysql group is dedicated to learn more about the PHP/MySQL web
> database possibilities through group learning.
> Yahoo! Groups Links
>
>
>
>
>
>
>
The php_mysql group is dedicated to learn more about the PHP/MySQL web database
possibilities through group learning.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php_mysql/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/