brown2005 Posted November 10, 2006 Share Posted November 10, 2006 I was wondering if you could have multiple values in a select option.i have two values showing<option value=''>cars (3)</option>i want to be able to reconise the cars bit and the 3 bit to be used.. Link to comment https://forums.phpfreaks.com/topic/26835-can-you-have-multiple-values-in-a/ Share on other sites More sharing options...
Orio Posted November 10, 2006 Share Posted November 10, 2006 you can have it set to:<option value='cars.3'>cars (3)</option>Then use the [url=http://php.net/explode]explode()[/url] function to seperate the two values :)Orio. Link to comment https://forums.phpfreaks.com/topic/26835-can-you-have-multiple-values-in-a/#findComment-122716 Share on other sites More sharing options...
bqallover Posted November 10, 2006 Share Posted November 10, 2006 Not sure exactly what you mean, but have you looked at using a <select multiple="yes" size="[i]n[/i]">? Link to comment https://forums.phpfreaks.com/topic/26835-can-you-have-multiple-values-in-a/#findComment-122717 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.