First: Post the error code when you get one.
Second: Split the code into pieces/rows to find errors.
-- CODE -- <? mysql_query(" INSERT INTO `users` ( fullname, email, username, password ) VALUES ( '" . $_POST['fullname'] . "', '" . $_POST['email'] . "', '" . $_POST['username'] . "', '" . md5($_POST['password'] . "' ) "); ?> -- END --
Easier to spot the error? md5() tag is not closed.
Niklas
Logan Moore wrote:
heres the code, but im getting an error
<? mysql_query("INSERT INTO `users`(fullname, email, username, password) VALUES ('".$_POST['fullname']."', '".$_POST['email']."', '".$_POST['username']."', '".md5($_POST['password']."')"); ?>
This time I dont have a clue whats happening
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php