Sorry if it\'s a quite simple problem. I am not too experienced with web languages.
Basically, it doesn\'t work.
$insert=
(
\"INSERT INTO phpbb_members
$insert="INSERT INTO phpbb_members (emailAddress, uid, valid, firstandlast, propic, memberName)
VALUES ('".$me['email']."', $uid, 1, '".$me['name']."', '$propic', $newuser)";
Missing singular quotes (for strings [varchar, char, text, etc]) and you need to close your quotes and concatenate when referencing an array. The above assumed $uid and $newuser are stored numerically in the DB.