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' ..
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
> 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
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