in reply to OT: values not working.
Problem 1: Have you tried changing the input type to something like "hidden" or "checkbox"? That would get rid of the radio button. If you want to change it to hidden, remember to get rid of the "selected" and if you change it to checkbox, change "selected" to "checked".
Just a side note. You may be able trick the program into allowing you play around with the font sizes you can choose. If this is the case, you may be able to use a drop down list instead:
<select name="DESCSIZE"> <option value="<font size=3>">3</option> <option value="<font size=4>" selected>4</option> </select>
Problem #2: Change $title to $desc. Or $title - $desc if you want both the title and the code. Unfortunately, I have the inkling that the author of this code may insert your font tag from problem one into the title. Try it and see.
Problem #3: This program makes me nervous. There's something hinky going on here. Whoever wrote this program may be rolling their own templating system (see A quick and dirty template system for more info). It's also trusting user input (by taking the HTML element font verbatim from the user and most likely inserting directly into the html using the homegrown template system which is a security hole. I'm not sure if they're validating the input, but I doubt it.
I sure hope you didn't pay a lot for this program. I haven't seen the code, but I have a funny feeling that it's full of security holes. And those holes may cost you money.
|
|---|