Any Clues Here???

From: Date: Fri, 17 Nov 2000 19:06:02 +0000
Subject: Any Clues Here???
Groups: php.general 
Request: Send a blank email to php-general+get-25947@lists.php.net to get a copy of this message
Is there something wrong in my php.ini file??? This is on the latest greatest version of php which someday I will start to learn if I can ever get it to run!!! I get this error when using <?php to begin with test.php4: parse error, expecting `'('' on line 7 $user = "Accent"; I get this error when using <? to begin with test.php4: No mySQL support on line 10 $link = mysql_connect( "localhost", $user, $pass ); test.php4: parse error, expecting END_TAG' or ';'' or `'{'' on line 12 die ( "Could not open MySQL Database" ); ####THE CODE### <html> <head> <title>Example</title> </head> <body> <? $user = "Me"; $pass = "letmein "; $db = "Test"; $link = mysql_connect( "localhost", $user, $pass ); if ( ! $link ) die ( "Could not open MySQL Database" ); print "Successfully connected to server<P>"; mysql_select_db ( $db ) or die ( "Could not open $db: ".mysql_error() ); print "Successfully selected database<P> "; mysql_close ( $link ); ?> </body> </html> Bill Marlin Web Site Specialist / EMT / Fire Fighter Accent Systems, Inc. 193 Computrex Drive Nicholasville, KY 40356 [859] 887-1023 X104

« previous php.general (#25947) next »