chappill
New Member
- Messages
- 74
- Reaction score
- 0
- Points
- 0
PHP:
$spass = rand(000000, 999999);
$idrand100 = rand(511111, 999999);
$sql = mysql_query("INSERT INTO 'vpcs' ('ID_MEMBER', 'id2', 'IP', 'Pass', 'Text', 'HDD', 'Conn', 'CPU', 'RAM', 'Psupply', 'Cfan', 'os', 'Type', 'Date', 'SPass', 'Reg') VALUES
('$idrand100', '$id', '$virtualip', '$virtualpassg', 'Welcome', '15000000', '100', '132', '1', '440', '6', 'Linux', 'virtual', '$now', '$spass', '$owner');")
if (!mysql_query($sql,$con))
{
die('Error: ' . mysql_error());
}
'
Parse error: syntax error, unexpected T_IF in /home/chappill/public_html/Sources/internet.php on line 697'
Line 697 being the if (!mysqlblahblah) line, can anyone help me? I've checked the above few lines for missed " and ; and cant find any =[
Never mind I have sorted that problem, but now theres a new one =[
PHP:
Parse error: syntax error, unexpected '?' in /home/chappill/public_html/Sources/internet.php on line 6110
PHP:
?
Last edited: