From the manual:
A boolean TRUE value is converted to the string “1”. Boolean FALSE is converted to “” (the empty string). This allows conversion back and forth between boolean and string values.
More Related Contents:
- how to get client’s IP address in sql database [closed]
- Cleansing User Passwords
- Working with large numbers in PHP
- Remove non-utf8 characters from string
- Suppress error with @ operator in PHP
- PHP PDOException: “SQLSTATE[HY093]: Invalid parameter number”
- Nginx location configuration (subfolders)
- Facebook Graph API, how to get users email?
- Sorting a multidimensional array in PHP? [duplicate]
- How to group a multidimensional array by a particular subarray value?
- Converting a SimpleXML Object to an Array [closed]
- PHP x86 How to get filesize of > 2 GB file without external program?
- How to write specific CSS for mozilla, chrome and IE
- How to find the date of a day of the week from a date using PHP?
- How to add an ORDER BY clause using CodeIgniter’s Active Record methods?
- iPhone emoticons insert into MySQL but become blank value
- Can I call a Model from a View?
- Inserting into MySQL from PHP (jQuery/AJAX)
- When do I use static variables/functions in php?
- Limiting the output of PHP’s echo to 200 characters
- mysqli_select_db() expects parameter 1 to be mysqli, string given
- Mysqli prepared statement column with variable [duplicate]
- HTTP OPTIONS request on Azure Websites fails due to CORS
- Use keyword in functions – PHP [duplicate]
- regular expression and forward slash
- How do I check in PHP that I’m in a static context (or not)?
- Why does (0 == ‘Hello’) return true in PHP?
- Set character set using MySQLi
- how to execute mysql command DELIMITER
- php in background exec() function