Date: 07/13/00
- Next message: Shawn Patton: "[phplib] t"
- Previous message: Kristian Koehntopp: "Re: [phplib] Bug fixes for template.inc"
- In reply to: php: "[phplib] Need help getting phplib-7.2b running"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
This is not a problem with phplib...anything after the semi-colon; is
interpreted as the start of a new PHP command. So, where you have:
> var $Host = "localhost"; localhost
the 2nd "localhost" should be commented out (like so) if you don't want it
interpreted.
> var $Host = "localhost"; // localhost
or
> var $Host = "localhost"; #localhost
or
> var $Host = "localhost"; /* localhost */
and so on....
Ignatius
----- Original Message -----
From: php <php <email protected>>
To: <phplib <email protected>>
Cc: <php <email protected>>
Sent: Friday, July 14, 2000 6:04 AM
Subject: [phplib] Need help getting phplib-7.2b running
> I get this error message when parsing index.php3
>
> Parse error: parse error, expecting `OLD_FUNCTION' or `FUNCTION' or `VAR'
or `'}'' in local.inc on line 13
>
> This is the beginning of include dir: /php/local.inc
>
> class DB_Example extends DB_Sql {
> var $Host = "localhost"; localhost (THIS IS LINE 13)
> var $Database = "example_database"; example_database
> var $User = "example_user"; example_user
> var $Password = "";
> _________________
>
> php3 is installed
> mysql is running with the active_sessions db installed
> am using auth_md5 for passwords
> --
> Gerald Howse
> php <email protected>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Shawn Patton: "[phplib] t"
- Previous message: Kristian Koehntopp: "Re: [phplib] Bug fixes for template.inc"
- In reply to: php: "[phplib] Need help getting phplib-7.2b running"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

