|  | 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
 [Back to original message] |