You are here: Re: using echo but need something to execute php code « PHP Programming Language « IT news, forums, messages
Re: using echo but need something to execute php code

Posted by Jon Slaughter on 04/29/07 14:11

<snip>

> I think this is what you want and a lot less complicated than eval().
> HTH
> Vince
>

I can't do that because I have written a somewhat complicate scheme where
most of my files are automatically generated.

Basically I created a script that will take a file that gives the menu items
for a nav menu and it will generate all the html and files references for
those links along with adding some code to modify those links depending on
which page it is at the moment.

Its not complicated but I don't want to go back at this point in time and
rewrite it and the two methods are incompatible. (that is, I cannot use
your way because it would mean I would have to rewrite a lot of stuff).

Utimately I think it probably would have been easier and maybe its not to
difficult to actually modify but I don't feel like doing more work than I
have to at this point. When I rewrite my site I'll try to do a better job
so I'll wait until I get to that point. But if I can't find a method that
works then I might have too... luckily that doesn't seem to be the case.

Thanks,
Jon

 

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

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