Parse Errors...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	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 DreamWeaver
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 parse
error on the 'mysql_select_db($database_ProdUsers, $ProdUsers);' regardless
of whether this is the first or second mysql_select_db.  I imagine that I am
simply doing something obviously wrong here.  Please help.  Thanks.


Scott Nipp
Phone:  (214) 858-1289
E-mail:  sn4265@sbc.com
Web:  http:\\ldsa.sbcld.sbc.com

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux