Re: [PHP] passing variables values using POST

2008-03-18 Thread Jason Pruim
On Mar 18, 2008, at 6:43 AM, Sudhakar wrote: i am presently passing the value of a variable to a php file using GET after data has been inserted to the database. ex= $firstname = $_POST["firstname"]; if(!$sqlconnection) { echo "error message"; } else { header("Location: thankyou.php?firstnam

Re: [PHP] passing variables values using POST

2008-03-18 Thread viraj
On Tue, Mar 18, 2008 at 12:45 PM, Stut <[EMAIL PROTECTED]> wrote: > On 18 Mar 2008, at 10:43, Sudhakar wrote: > > i am presently passing the value of a variable to a php file using GET > > after data has been inserted to the database. > > Why do you need to redirect? Why can't you display the th

Re: [PHP] passing variables values using POST

2008-03-18 Thread Stut
On 18 Mar 2008, at 10:43, Sudhakar wrote: i am presently passing the value of a variable to a php file using GET after data has been inserted to the database. ex= $firstname = $_POST["firstname"]; if(!$sqlconnection) { echo "error message"; } else { header("Location: thankyou.php?firstnameis=$