You are here: Re: variable howto « PHP Programming Language « IT news, forums, messages
Re: variable howto

Posted by Geoff Berrow on 11/27/05 20:51

Message-ID: <1133114974.633990.295750@g47g2000cwa.googlegroups.com> from
rut contained the following:

><?php
> $page_title = 'Reidsville Christian Church';
> include('./include/template.inc');
> $page_css = 'index.css';
>?>
>
>
>This doesn't work. I suspect I'm refering to the $page_css incorrectly
>in the template.inc file.
>Can someone help on this?

Well, you'll have to put the $page_css = 'index.css'; before the
include for it to work.

That said, it's hard to see how this include is doing anything useful.
You need to reconsider the logic of what you are doing.



--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

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

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