View Full Version : radio button value as a path?

03-24-2004, 09:46 AM
hi all,

u see...i need to put the value as a path.what i mean is that u know..radio buttons has it's value right? so can i put it something like :

<INPUT type=radio value="img/picTemplates/R/bluepic.jpg "


<? $path = "img/picTemplates/R/bluepic.jpg ";
echo ("<INPUT type=radio value=$path
name=scheme>"); ?>

i am trying to insert that radio button value (and it needs to be a path like what u see) to the database. i have tried the 2nd one....but what went into the DB was $path and not img/picTemplates/R/bluepic.jpg .

pls help....thank you...kinda lost here

03-24-2004, 07:00 PM
It's weird that the second one didn't work... but try something like this for kicks:

$path = "img/picTemplates/R/bluepic.jpg ";
echo ("<INPUT type='radio' value='".$path."' name='scheme'>");

And see how that works out..