waako
09-08-2007, 02:55 PM
Hello all,
I setup a PHP script that enables people to signup as beta testers while answering a number of questions about interests etc...
Now the website is being moved to a server that only does ASP.
the current php process files uses the following:
$name = $_POST['name'];
$email = $_POST['email'];
$inspiration1 = $_POST['inspiration1'];
$inspiration2 = $_POST['inspiration2'];
$inspiration3 = $_POST['inspiration3'];
$question1 = $_POST['question1'];
$question2 = $_POST['question2'];
$question3 = $_POST['question3'];
$sql="INSERT INTO betasignup (name, email, inspiration1, inspiration2, inspiration3, question1, question2, question3)
VALUES
('$_POST[name]','$_POST[email]','$_POST[inspiration1]','$_POST[inspiration2]','$_POST[inspiration3]','$_POST[question1]','$_POST[question2]','$_POST[question3]')";
how can I do this using asp?
Would be amazingly grateful for any answers, as I need to get this done before leaving for hols tomorrow morning.... :gagged:
thanks
I setup a PHP script that enables people to signup as beta testers while answering a number of questions about interests etc...
Now the website is being moved to a server that only does ASP.
the current php process files uses the following:
$name = $_POST['name'];
$email = $_POST['email'];
$inspiration1 = $_POST['inspiration1'];
$inspiration2 = $_POST['inspiration2'];
$inspiration3 = $_POST['inspiration3'];
$question1 = $_POST['question1'];
$question2 = $_POST['question2'];
$question3 = $_POST['question3'];
$sql="INSERT INTO betasignup (name, email, inspiration1, inspiration2, inspiration3, question1, question2, question3)
VALUES
('$_POST[name]','$_POST[email]','$_POST[inspiration1]','$_POST[inspiration2]','$_POST[inspiration3]','$_POST[question1]','$_POST[question2]','$_POST[question3]')";
how can I do this using asp?
Would be amazingly grateful for any answers, as I need to get this done before leaving for hols tomorrow morning.... :gagged:
thanks