I ran the following PHP script:
<?php
$die_msg = "Connection to Database Failed"
$connect = mysql_connect("localhost","UserName","UserPW")
or die("Connect Failed" ):
echo $connect;
$db = mysql_select_db("db_cap",$connect)
or Die("db Select Failed");
?>
I received the following error message
Parse error: parse error, unexpected T_VARIABLE in
C:\FREEDEV\XITAMI\webpages\private\test.php on line 3
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

