You are here: Re: Defining variables in a seperate file « PHP Programming Language « IT news, forums, messages
Re: Defining variables in a seperate file

Posted by Phil Latio on 12/18/78 11:48

"Geoff Muldoon" <geoff.muldoon@trap.gmail.com> wrote in message
news:MPG.1edd53b5f57714e29897e1@news.readfreenews.net...
> phil.latio@f-in-stupid.co.uk says...
>
> > <?php
> > /* Script 2
> > This script does not seem assign a value to $localhost
> > Here is the contents of config.php without the open/close PHP tags.
> > $host = "localhost";
>
> Maybe because you've called it $host not $localhost ??
>
> GM

Yes, typical I've been looking at this for 2 hours and 5 mins after posting
I spot my obvious mistake.

Thanks for taking the trouble.

Cheers

Phil

 

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

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