MySQL Forums
Forum List  »  PHP

Re: How to get PHP to test for NUL and space and INSERT into mySQL
Posted by: Peter Brawley
Date: August 31, 2018 11:07AM

> die('Can not insert data: ' . mysql_error());

You need mysqli_error().

I can't reproduce your finding, PHP 7.1 reproduces both \0 and %00 in a Get, and isset() returns true for that value.

Options: ReplyQuote


Subject
Written By
Posted
Re: How to get PHP to test for NUL and space and INSERT into mySQL
August 31, 2018 11:07AM


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.