Probably mysql_query()
failed. In this case it returns false
. Use mysql_error() to find out, what happens.
More Related Contents:
- when i refresh will delete all records
- AngularJS HTTP post to PHP and undefined
- Ajax Upload image
- How to read if a checkbox is checked in PHP?
- Warning: mysql_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock) in
- How to check if PHP array is associative or sequential?
- mysqli bind_param() expected to be a reference, value given
- How to fix the session_register() deprecated issue?
- Convert a comma-delimited string into array of integers?
- Laravel orderBy on a relationship
- Creating and Update Laravel Eloquent
- Display the discounted percentage near sale price in Single product pages for WC 3.0+
- bcrypt and randomly generated salts
- php pdo prepare repetitive variables
- preg_match() Unknown modifier ‘[‘ help
- How to make PDO run SET NAMES utf8 each time I connect, In ZendFramework
- PHP include best practices question
- Laravel Eloquent, group by month/year
- ini_set, set_time_limit, (max_execution_time) – not working
- Why are PHP function calls *so* expensive?
- How to retrieve comments from within an XML Document in PHP
- How to get data in function extend controller?
- Get the maximum value from an element in a multidimensional array? [duplicate]
- How can I convert a docx document to html using php?
- disable csrf in laravel for specific route
- Is there any way to install Composer globally on Windows?
- Regex for password PHP [duplicate]
- Show hide custom Woocommerce checkout field based on selected payment method
- php switch case statement to handle ranges
- How to remove backslash on json_encode() function?