Some times parse errors aren't in the line the interpreter says.
Looking at the code you sent I don't see the error but if your original code
is in a biger file try looking if the brackets {} or parenthesis of all the
code are balanced.

"Scott V Nipp" <[EMAIL PROTECTED]> escribió en el mensaje
> I keep receiving a parse error every time I try and view the page I
> am working on.  I am developing this very simple application in
> MX 2004.  Here are lines 3-16:
> <?php
> mysql_select_db($database_Prod, $Prod);
> $query_Host = "SELECT Name FROM systems";
> $Host = mysql_query($query_Host, $Prod) or die(mysql_error());
> $row_Host = mysql_fetch_assoc($Host);
> $totalRows_Host = mysql_num_rows($Host);
> mysql_select_db($database_ProdUsers, $ProdUsers);
> $query_UserMod = "SELECT shell, home_dir FROM modification";
> $UserMod = mysql_query($query_UserMod, $ProdUsers) or die(mysql_error());
> $row_UserMod = mysql_fetch_assoc($UserMod);
> $totalRows_UserMod = mysql_num_rows($UserMod);
> ?>
> I am simply attempting to pull data from two separate tables in two
> separate databases.  Every time I try to view my work, I am getting a
> error on the 'mysql_select_db($database_ProdUsers, $ProdUsers);'
> of whether this is the first or second mysql_select_db.  I imagine that I
> simply doing something obviously wrong here.  Please help.  Thanks.
> Scott Nipp
> Phone:  (214) 858-1289
> Web:  http:\\

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to