View Single Post
  #1  
Old 08-15-2006, 02:13 PM
admirer admirer is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
admirer is on a distinguished road
Default trouble showing input type field

Hi folks

I have the following problem. When i'm trying to add the following code to my input type field:
<input type="radio" NAME="music" value="<?php if(isset($_POST['music'])) echo $_POST['music']; ?>" />
it always shows the code in the value in the input type field. WHy? Any ideas?
And how can i insert a code for the parameters of an option field, so that when they are sent they go into a mysql database? I use the code above for all the input type fields, but i really have no idea about the option field

<SELECT NAME="Pop singer">
<option value="BS">Britney Spears</option>
<option value="CD">Celine Dion</option>
<option value="MC">Mariah Carey</option>

Plz guide, thx -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - trouble showing input type field
View Single Post
  #1  
Old 08-15-2006, 02:13 PM
admirer admirer is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
admirer is on a distinguished road
Default trouble showing input type field

Hi folks

I have the following problem. When i'm trying to add the following code to my input type field:
<input type="radio" NAME="music" value="<?php if(isset($_POST['music'])) echo $_POST['music']; ?>" />
it always shows the code in the value in the input type field. WHy? Any ideas?
And how can i insert a code for the parameters of an option field, so that when they are sent they go into a mysql database? I use the code above for all the input type fields, but i really have no idea about the option field

<SELECT NAME="Pop singer">
<option value="BS">Britney Spears</option>
<option value="CD">Celine Dion</option>
<option value="MC">Mariah Carey</option>

Plz guide, thx -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote