OK,
I have the following script - sorry bout this, not quite getting there yet.
require("testing.php");
show_form(); //displays original reg form with user data.
echo"<html><form action=$PHP_SELF>
<input type=submit name=submit></form></html>";
if ($HTTP_GET_VARS['submit']=="submit"){
echo"<html><script>
alert(\"testing\")
</script></html>";
}
I want to make sure this works by just printing an alert message or just echoing a message to the screen before I start messing with my db.
Can you tell me where I am going wrong please? and if poss how to rectify it?
Thanks for your help.