> error. So if you connect to the database OK and select the database
> OK, then nothing should be coming back to the browser with the code
> you have here.
>
> Plus, there's an easier way to do what you're doing and check for
> errors here.
>
> <?php
>
> $dbcnx = @mysql_connect('host','username','password') or die('Unable
> to connect ' . mysql_error());
>
> mysql_select_db('ijdb') or die('Unable to select the database ' .
> mysql_error());
>
> // etc. etc.
>
> ?>
>
> HTH
> -Nick
What's with this @mysql_connect stuff? I use just mysql_connect. Is
there a functional difference?
Community email addresses:
Post message: [email protected]
Subscribe: [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
List owner: [EMAIL PROTECTED]
Shortcut URL to this page:
http://groups.yahoo.com/group/php-list
YAHOO! GROUPS LINKS
- Visit your group "php-list" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
