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 die(report($query,__LINE__ ,__FILE__));

    while($row = mysql_fetch_array($result))
        $store_name[] = $row['store_name'];
        $id[] = $row['id'];


Form portion is____

<input type="hidden" name="id" value="<?php echo '$id[]';?>">

Any help is greatly appreciated. Thank you.

Reply via email to