View Single Post
Old 08-04-2003, 01:54 AM  
Arty
Confirmed User
 
Join Date: Nov 2002
Posts: 880
Quote:
Originally posted by 4Pics
I'm trying to generate static html pages from a php page which I have down no problem except, I dont know how to get it to also then on the html page I generate insert php code so that when a user loads the page it then does that php.

Does that make sense?
I'm not sure if that is what you are asking but,

If the generated file extnsion is .html you cannot execute it as a php script nor include another php in it.

Alternatively if the file extension is not a problem then save the generated file as .php then you can "include" another php code to it.

I hope that helps.
Arty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote