Help with function
I have a function
Code:
$query = sprintf("INSERT INTO table (field1, field2) VALUES ('$_POST[value1]','$_POST[value2]')");
if (!mysql_query($query)) {
header ("Location: "page1.php");
}
else {
header ("Location: "page2.php");
}
I would like to post the value1 and value2 to page2.php when the header is executed.
How would I do this?
__________________
__________________
md
AskAGeek.com - Where geeks answer your computer and tech questions.
Ann-Lindsey.com - My Wife's Budget Fashion and Shopping Blog
|