Re: My TRUNCATE statements DO NOT WORK.
> die('Error: ' . mysqli_error());
> print "data1 Failed";
die() obviously precludes the next line executing.
Check the PHP manual for mysqli_error() syntax. It requires a connection param.
And check the PHP manual for mysqli_query() syntax, your params are in the wrong order.
Subject
Written By
Posted
Re: My TRUNCATE statements DO NOT WORK.
March 22, 2016 11:15AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.