Joe,
Are you assigning your database variables within the config.php file or directly
into the mysql_connet(...);
config.php:
// database parameters
// alter this as per your configuration
$database="database_name";
$user = "username";
$pass = "password";
$hostname = "localhost";
>>On Tue, 10 Jul 2001 17:33:10 -0700, Joe Taraba <[EMAIL PROTECTED]> wrote:
>>There is something missing in my understanding of the php mysql_connect
>>statement because I am getting a parse error as follows:
>>
>>http://cxkop.com/Jobs/job_list.php
>>Parse error: parse error in
>>/home/virtual/cxkop1365/home/httpd/html/Jobs/job_list.php on line 31
>>
>>The database exists and is populated.
>>
>>I am doing the Devshed tutorial "jobs":
>>http://www.devshed.com/Server_Side/MySQL/PerfectJob/page5.html
>>
>>The example code is thus:
>>// $connection = mysql_connect($hostname, $user, $pass) or die ("Unable to
>>connect!");
>>
>>My attempts are: (this is line 31, line 30 is commented out above)
>>$connection = mysql_connect($cxkop@localhost, $cxkop, $!@@!) or die
Mike(mickalo)Blezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
http://www.thunder-rain.com
Tel: 1(225)686-2002
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php