Hi,
I dont know how exactly to explain this but will do my best, i have many of
the following lines in a page:
<td><p><input type=checkbox name='id[]' value=23><input type="hidden" name
="package" value="loco package"></td>
each line of course has a differient id[] value and package value.
Everything is working fine with the just id[] value but now i need to add
the package value too...but the problem is when i submit the form all the
hidden fields are getting submitted when i only need the hidden "package"
value of the ticked checkbox...is there any way to do that? or alter the
above so that each id[] can have 2 values?
In the above example i am getting upto 5 id numbers.... after i get the
numbers i am using it like so:
if(isset($id[0]))
{do things}
to get a better idea of what i am talking about if the above is just too
darn confusing check out http://bestwebhosters.com/search.template2.php
note that most of the links are deadlinks as this is still in development.
Any and all help appreciated.
Cheers,
-Ryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php