[PHP] form hidden value

2011-08-08 Thread Chris Stinemetz
I'm trying to pass a hidden value with my form submission. Not sure what I am doing woring, but the value is not being passed. Query is___ $query = SELECT id, store_name FROM store_list WHERE store_type = '$type' AND id_market = '$market' ; $result = mysql_query($query) or

Re: [PHP] form hidden value

2011-08-08 Thread Daniel P. Brown
On Mon, Aug 8, 2011 at 17:23, Chris Stinemetz chrisstinem...@gmail.com wrote: input type=hidden name=id value=?php echo '$id[]';? You should drop the quotes around the $id[] array, and also figure out how you want to extract the element from the array. For example: ?php echo

RE: [PHP] form hidden value

2011-08-08 Thread Dajka Tamas
[mailto:chrisstinem...@gmail.com] Sent: Monday, August 08, 2011 11:23 PM To: PHP General Subject: [PHP] form hidden value I'm trying to pass a hidden value with my form submission. Not sure what I am doing woring, but the value is not being passed. Query is___ $query = SELECT id, store_name FROM