lukekelly Posted July 1, 2009 Share Posted July 1, 2009 Hi all, Basically i have a database that users numbers to define a category (1-4) On the data entry page however instead of the selection 1-4 I would put in the actual names (so the users know what the category is). So what i need to do is on the form have the text description of the numbered catergorys - but on submit it should update the record with only the number. How would i go about doing this? thanks Link to comment https://forums.phpfreaks.com/topic/164395-solved-not-sure-how-to-word-this/ Share on other sites More sharing options...
flyhoney Posted July 1, 2009 Share Posted July 1, 2009 <select name="category"> <option value="1">Category 1</option> <option value="2">Category 2</option> <option value="3">Category 3</option> <option value="4">Category 4</option> </select> Link to comment https://forums.phpfreaks.com/topic/164395-solved-not-sure-how-to-word-this/#findComment-867148 Share on other sites More sharing options...
lukekelly Posted July 1, 2009 Author Share Posted July 1, 2009 he he so simple - thanks! Link to comment https://forums.phpfreaks.com/topic/164395-solved-not-sure-how-to-word-this/#findComment-867182 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.