-1

这有什么问题?

mysqli_query($con, "
        INSERT INTO members (`ip`) VALUES ('$localIP') 
        SELECT * FROM members 
        WHERE username = '$uname' AND password = '$pword'");

没有插入任何内容,我也没有收到错误消息。

4

1 回答 1

3

I do not have enough points to leave a comment on this but if you insert this into script you should be able to provide more information.

error_reporting(E_ALL);
ini_set('display_errors', '1');
于 2013-03-14T23:28:57.940 回答