If someone help me fix this problem i will upload it![/b]
hello ok heres the fix
Replce this
QUOTE
include ("includes/database/database.inc.php"); $myDb->connect(); $query = "INSERT INTO yob_buyref (customer, amount, refset, pemail, ip) VALUES('$user','1','$refset', '$pemail','$purchaseip')"; mysql_query($query) or die(mysql_error()); $myDb->close();?>[/b]
with this
QUOTE
include ("includes/database/database.inc.php"); $myDb->connect(); $query = "INSERT INTO yob_buyref (customer, amount, refset, pemail, ip) VALUES('$user', '1', '$refset', '$pemail', '$purchaseip')"; mysql_query($query) or die(mysql_error()); $myDb->close();?>[/b]
Look at the diffrence between the commands.
lol the insert query should have the same mout of space between each variable being inserted.
that should do it any more errors pm me