Thanks for your suggestions! I must still be doing something wrong.
This is what I used per your recommendation
echo "<INPUT TYPE=\"Hidden\" NAME=\"arraycar[$car_ID]\" VALUE=\"". $dbrow ."\">";
View source' shows:
input type=hidden name=arraycar[car_ID] value=array
POST is passing the arraycar[$car_ID] properly, but each has the value 'array' with none of the elements from the row. When I request to see element [1][1], I get the letter 'r' from the word 'array.'
It DOES work if I do it the following way, but only passes the requested value car_name. Would that I could pass ALL those values from the query. Only way I can right now is to set each 'columnname' from the db this way as the 'while' loops thru the recordsets:
echo "<INPUT TYPE=\"Hidden\" NAME=\"arraycar[$car_ID]\" VALUE=\"". $dbrow[car_name] ."\">";
I've already been down that road, and it works fine. However, my actual goal is to have the $dbrow set (not just the last row of $dbrow) pass to the POST as the identical set pulled down from the database. (I don't care about the assoc, I simply want the set to look just like the query).
Why am I wrestling with this? For 2 reasons:
1. I don't want those values apparent on the client side. Is there no way to do this (except to re-run the query on post?)
2. Once this post is accomplished, I want to re-use the query on a third post. (i.e. users enter a buncha values, post then calc -- and then they can reset the value on the second page if they don't like the results.)
😃 (DON'T ASK!!!! - Tearing what little hair I have left out over this one.
Thanks for the help, though.
Strat