Date: 09/28/00
- Next message: Maurice Jumelet: "Re: [phplib] Parse error"
- Previous message: Bart-Jan Vrielink: "Re: [phplib] gd1.3 in php"
- Next in thread: Maurice Jumelet: "Re: [phplib] Parse error"
- Reply: Maurice Jumelet: "Re: [phplib] Parse error"
- Reply: messju mohr: "Re: [phplib] Parse error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Maurice Jumelet: "Re: [phplib] Parse error"
- Previous message: Bart-Jan Vrielink: "Re: [phplib] gd1.3 in php"
- Next in thread: Maurice Jumelet: "Re: [phplib] Parse error"
- Reply: Maurice Jumelet: "Re: [phplib] Parse error"
- Reply: messju mohr: "Re: [phplib] Parse error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

