Ok I've been messing with this code for quite a while now and it keeps saying I have an unexpected T_VARIABLE on line 54. Anyone know what it is and how to fix?
// Write the key and activation time to the database as a new row
**LINE 54** $registerid = mysql_query("INSERT INTO downloadkey (uniqueid,timestamp) VALUES("$key","$time")") or die(mysql_error());