On Fri, Aug 09, 2002 at 04:27:56PM -0500, Jim Bailey wrote:
> $die_msg = "Connection to Database Failed"
Where's the terminating ";" on that prior line?
> $connect = mysql_connect("localhost","UserName","UserPW")
> or die("Connect Failed" ):
You put a ":" rather than ";" on the prior line.
Also, to make your debugging easier, use mysql_error() in your die
statements in order to figure out why things didn't work as expected.
Naturally, for that to be of any assistance, you'll need to clean up your
parse errors first. :)
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php