Jump to content


Photo

preset value's mysql/php in easyphp


  • Please log in to reply
1 reply to this topic

#1 Leyonard

Leyonard
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 13 June 2006 - 09:12 AM

I wanted to make a field "experience" in the mysql database. But on the form on the website i want to make some kind of rolldown menu with 3 preset value's, so people can't enter anything else.

How can i do that?

#2 joquius

joquius
  • Members
  • PipPipPip
  • Advanced Member
  • 319 posts

Posted 13 June 2006 - 09:46 AM

that's just html i think you're in the wrong forum.

this goes in db: $_POST['experience']

<select name="experience">
<option value="1">one</option>
<option value="2">two</option>
<option value="3">three</option>
</select>

z..z..z..z..z..z..z..z..




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users