You have to actually grab the data from the super globar GET first. So do something like:
PHP Code:
<html>
<title> THIS IS THE SCORE STORE TEST PAGE!</title>
<body>
<?php
$connect = mysql_connect("localhost","tletopgh_mclite", "0745599") or
die ("There was a problem connecting to MYSQL!");
mysql_select_db ("vecmxcco_people");
$firstname = $_GET['firstname'];
$lastname = $_GET['lastname'];
$email = $_GET['email'];
$usrname = $_GET['usrname'];
$pass = $_GET['pass'];
$sql="INSERT INTO login
(record, name_first, name_last, email, usrname, password)
VALUES (1, '$firstname', '$lastname', '$email', '$usrname', '$pass')";
echo "New data entered successfully!";
?>
</body>
</html>
Bookmarks