[phplib] Parse error From: Peter Bowyer (reywob <email protected>)
Date: 09/28/00

Hi,

Can anyone tell me why this is generating a parse error on the line
marked >>>>>> (and I guess on the following lines as well)?

include ("./db_pgsql.inc");
include ("./postcard_setup.php");
include("./class.FastTemplate.php");

class DB_SendCard extends DB_Sql {
>>>>>> var $Host = $dbhost;
   var $Database = $dbname;
   var $User = $dbuser;
   var $Password = $dbpassword;
}
$db = new DB_SendCard ;

The postcard_setup.php file contains the following:

// Enter your database details:
// Database name:
$dbname="abcdefg";
// Username:
$dbuser="username";
// Database host:
$dbhost="db.yoursite.f2s.com";
// Database password:
$dbpassword="********";

What's wrong? It works fine on a server running PHP version 3.0.16 and
PostgreSQL, but not on a server running PHP 4.02 and MySQL.

TIA,
Peter.
--oOo--
Narrow Gauge on the web - photos, directory and forums!
http://www.narrowgauge.f2s.com
--oOo--
Peter's web page - Scottish narrow gauge in 009
http://members.aol.com/reywob/
--oOo--

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>