Posted by Lee David on 06/06/05 01:27
The error came in when the sql statement was executed. If the "x.inc" data
was on the page there was no error, but if the include were there, the user
name, password, connection id (localhost) and database name were not found.
The general problem is I would like to insert stuff like the above rather
than include the physical code in each of the pages that has sql code. The
error was invalid sql connection and no password - the things that I tried
to insert into the page with the include.
Yes, you are right that is pure pseudo code. I guess what I'm looking for
is pre-processor includes like we have on the mainframe.
Lee
[Back to original message]
|