Jump to content

What is goin on with my select list?


morcth

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/69491-what-is-goin-on-with-my-select-list/
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.