You are here: Re: php within dhtml, is that possible? « PHP Programming Language « IT news, forums, messages
Re: php within dhtml, is that possible?

Posted by Rik on 05/11/06 13:29

Jacques Jamain wrote:
> ok, I have to explain a bit more what I intend to obtain.
> At server side I generate an html file to include some data obtained
> from mysql, to be passed to JS. This is done by echoing the html
> head and the JS directives and the data with php. It's ok, and now
> I have to add the html body and I was thinking that instead of
> echoing all the html directives it would be nice to include a file
> holding all those directives. That's SSI, but helas my hosting isp
> does not support, hence the tentative with php.
> The actual question: "is recursion possible with php and if yes
> how?"

I still don't really get what you are trying to do:
You have some data retrieved from the database, and after that you want a
HTML body...
Why not just end parsing with php (?>), and write the HTML? Echoing is nog
necessary. I think I'm missing something here.

The HTML body, is it dynamic, and if so, how do you control that: php or
client side js?

Am I to understand that a simple:
include("your/desired/file.html");
does not work?

Grtz,
--
Rik Wasmus

 

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

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