morcth Posted September 15, 2007 Share Posted September 15, 2007 Hello. I have a vendors.php page that shows a list of categories of vendors and when you view the category it shows the vendors in that category. looking at the source of the page everything looks great. each vendor has a name and value. When I click on a vendor and click view to see its contact information... i pass the value through the url as "ven=value" Something was wrong though and i see what it is now and not sure why its happening. The full values are not being passed into vendor[value]. The select lists name is vendor. If the value of dj jon is 23, dj matt is 28, and dj stu is 34, The value for $_POST[vendor][value] is 2,2, and 3 respectively. For some reason my values can not be over 9 to be correct. If my value was 10 it would pass over 1. I know seloect lists can have strings for values and values more than a single digit. ANyone know what could be going on? For dubugging I called a test script with the form... the value for the selected list option was 67... in the called script i just did an echo $_POST[vendor][value]; die(); and it showed 6. Any help would be appreciated. Thanks. Josh Quote Link to comment https://forums.phpfreaks.com/topic/69491-what-is-goin-on-with-my-select-list/ Share on other sites More sharing options...
rarebit Posted September 15, 2007 Share Posted September 15, 2007 Some code might be helpful? Quote Link to comment https://forums.phpfreaks.com/topic/69491-what-is-goin-on-with-my-select-list/#findComment-349178 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.