Data not inserted into database but code runs without errors

前端 未结 0 1793
失恋的感觉
失恋的感觉 2021-01-02 15:39

I have a function called create:

function create($table, $data)
{
    global $conn;
    $sql = "INSERT INTO $table SET ";

    $i = 0;
    foreach($         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题