a strange question
Posted: Thu Feb 11, 2010 11:48 am
Hi
I wonder if anyone can help.
I am trying to create a script that will create a form dynamically then slot it into an html template where it says {SHOWFORM} the trouble is as with a simple string replace its great for using allready output code however this will call the template find the tag then replace it with the form.
Each template will be unique so it will be in a different place each time is there any easy way or shall i just bung it in a function and try the string replace thing?
I wonder if anyone can help.
I am trying to create a script that will create a form dynamically then slot it into an html template where it says {SHOWFORM} the trouble is as with a simple string replace its great for using allready output code however this will call the template find the tag then replace it with the form.
Each template will be unique so it will be in a different place each time is there any easy way or shall i just bung it in a function and try the string replace thing?