PHP Parse error: syntax error?

Jared Q

New member
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING

$sql = mysql_query("INSERT INTO users (name, hub, username, password)
VALUES($_POST['name'], $_POST['hub'], $_POST['username'], $_POST['password'])") or die (mysql_error());

something in there, please help me fix it
 
Back
Top