...

View Full Version : retrieving values of a checkbos



esthera
11-18-2007, 06:59 PM
i have a form with a checkbox called productids
for example

<input type="checkbox" name="productids" value"1">

<input type="checkbox" name="productids" value"2">

<input type="checkbox" name="productids" value"3">

<input type="checkbox" name="productids" value"4">

<input type="checkbox" name="productids" value"5">

now it's very strange when i do
productids=request("productids") then if i have say 3 & 4 selected
in ie it shows me the resluts as on,on instead of 3,4
and in firefox ,
why?
what am i doing wrong?

Spudhead
11-19-2007, 11:10 AM
You've got a typo:

value"5"

should be

value="5"

shakir
11-19-2007, 11:22 AM
server request will return only on/off or trye false it will not return the value u gave



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum