You are here: Re: include code on server « All PHP « IT news, forums, messages
Re: include code on server

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация