Jump to content

change dropdown to textbox in php


kabucek

Recommended Posts

hi @LL,

 

i have dropdown box which selects event from our sql database using arrays and php.

here is the code for the dropdown:

 

 

 

 

$selectedProductCodeTag="

<select name='selectedProd'>

<option value='eventcode'> Today, event at my place

</select>

 

How to change it into textbox, so users will be able to type in something like:

 

 

01-02-2009

 

which will be date of the event,

and eventcode will be changed to 10-02-2009

 

 

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/140093-change-dropdown-to-textbox-in-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.