我已经倾注了这一点,但找不到可能导致错误的原因。有什么建议么?
$sql = "INSERT INTO users (`id`, `username`, `password`, `firstname`,
`lastname`, `photo`, `mobile`, `fax`, `bday`, `homeadd`, `city`,
`state`, `zip`, `mailingadd`, `altfax`, `altphone`, `email`,
`emailpass`, `website`, `bio`, `designations`, `photo2`, `type`,
`confirmed_email`, `registered_on`, `disabled`, `admin_disabled`)
VALUES (NULL, $username, MD5('$password'), $firstname, $lastname,
'', 'test', '', '', '', '', '', '', '', '', '', $email, '', '', '', '',
'', 'agent', '1', NOW(), $disabled, 0)";`