resource id #4 Why am I getting this?

后端 未结 5 841
感动是毒
感动是毒 2020-12-11 20:51

I have a pretty basic forum template I am working on for testing purposes

When I create a topic, and press submit, the proccess updates the database but doesn\'t out

5条回答
  •  萌比男神i
    2020-12-11 21:07

    Problem is in your code:

    $result=mysql_query($sql);
    echo $result;
    

    $result is resource type, since mysql_query($sql) returns resource Stop echoing $result.

提交回复
热议问题