Lyleyboy Posted August 12, 2007 Share Posted August 12, 2007 Hi, Is there a way to read the variable names passed by a form if you dont know their names. I have a site where the users can edit a form but I need to then process it. Link to comment https://forums.phpfreaks.com/topic/64490-passing-form-variables/ Share on other sites More sharing options...
gurroa Posted August 12, 2007 Share Posted August 12, 2007 if the form has method set to post you can use reset($_POST); while(list($key,$value) = each($_POST)) { $ar_form_variables[$key] = $value; } Link to comment https://forums.phpfreaks.com/topic/64490-passing-form-variables/#findComment-321481 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.