i got this code of phpbuilder
foreach($_POST as $key => $value) {
echo "<input type=\"hidden\" name=\"" . $key . "\" value=\"" . $value . "\">\n";
}
Im using this but can i get it to handle things that were arrays. example
i have 3 pages
first page: (get thr form data)
for($i = 0; $i != $cnt; ++$i){
print("question: $i");
print("<INPUT TYPE=text NAME=questions[$i] VALUE=q$i><BR>");
}
second page: (this is were i need help)
foreach($_POST as $key => $value) {
echo "<input type=\"hidden\" name=\"" . $key . "\" value=\"" . $value . "\">\n";
}
third page: (this puts the data up in the db)
if i want to i can print stuff out. so i ...
for($i = 0; $i != count($questions); ++$i){
echo $questions[$i]."<BR>";
//so i use a for loop to do inserts
thanks for any help