Re: Php/MySQL Parse Error

2001-07-10 Thread MikeBlezien
That's the way should be, never enter your database access info directly into any type of script, be it PHP or Perl or what ever, store it in a separate file, no accessible separate file, then have the related script(s) call up the variables thru the PHP's include, or Perl's 'require' or 'use' ..

Re: Php/MySQL Parse Error

2001-07-10 Thread Joe Taraba
At 05:48 PM 07/10/2001 , you wrote: >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 = "pa

RE: Php/MySQL Parse Error

2001-07-10 Thread Chris Bolt
> Group; > > 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 This is a php

Re: Php/MySQL Parse Error

2001-07-10 Thread MikeBlezien
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 J