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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.