Jump to content

Copy Elements From $row Into $_POST


JustinK101

Recommended Posts

How do I push the values from my array $row into the $_POST array. I am doing an edit page and returning the results from mysql into the form elements. I have the following but it inst working. Thanks.

foreach($row AS $_POST => $val ) {
    $$_POST = stripslashes( $val );
}
Link to comment
https://forums.phpfreaks.com/topic/26085-copy-elements-from-row-into-_post/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.