Ok, I have figured it out, with the help of my dad.
I didn't include single-quotes ( this
' ) around the varibles that might have spaces in it.
Example:
PHP Code:
$sql="INSERT INTO Sellers (Username, Password, LastName, FirstName, Address, City, State, ZIP, Phone, EMail) VALUES ('" .
$UserName_TextBox . "', '" . $Password_TextBox . "', '" . $LastName_TextBox . "', '" . $FirstName_TextBox . "', '" .
$Address_TextBox . "', '" . $City_TextBox . "', '" . $State_TextBox . "', '" . $ZIP_TextBox . "', '" . $Phone_TextBox .
"', '" . $EMail_TextBox . "')";
PHP Code:
$Address_TextBox
would not work, but
PHP Code:
$rest_of_sql1 . ", '" . $Address_TextBox . "', " . $rest_of_sql2
would.
I hope this helps somebody.