PHP MySQL insert not working

前端 未结 6 1085
有刺的猬
有刺的猬 2021-01-14 07:01

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         


        
6条回答
  •  长情又很酷
    2021-01-14 07:56

    Try the following code,

     $insert=("INSERT INTO phpbb_members (emailAddress, uid, valid, firstandlast, propic, memberName) VALUES ('{$me['email']}', '{$uid}', '1', '{$me['name']}', '{$propic}', '{$newuser}')");
    mysql_query($insert) or die('Error, insert query failed');
    

提交回复
热议问题