mysql - Inserting information into table in PHP (Issue) -
this question has answer here:
$stm2 = $conn->prepare("insert (onet, twot) values (?, ?)"); $userone ="netsgets"; $usertwo="netsgets2"; $stm2->bind_param('ss',$userone,$usertwo); $stm2->execute(); $stm2->store_result();
the code above should add netsgets , netsgets2 table of together. reason error. fatal error: call member function bind_param(). mean?
Comments
Post a Comment