Menu
I’m trying to make a template builder, but I’m having trouble with the coding…
I’ll show you what I have so far:
[code=php]<form name=templatebuilder>
<input name=fgcolor>
<input name=bgcolor>
<select name=border>
<option>inset</option>
<option>outset</option>
</select>
<input type=submit>
<iframe src=template.php></iframe>
</form>
Now comes the hard part. If you press submit, I would like the template to be updated. So if you fill in Red as fgcolor and press Submit, template.php?fgcolor=red is opened in the iframe. Is this possible, and what will the code be?
Thanx!