You can use IN
to check in a list
UPDATE user SET point="$_POST[point]" WHERE id in (<list of ids>);
More Related Contents:
- How do I store a custom user selected CSS template style (like wordpress visual editor)? [closed]
- Php charset information [duplicate]
- How can I prevent SQL injection in PHP?
- jQuery Validate remote method usage to check if username already exists
- PDO get the last ID inserted
- How do I use password hashing with PDO to make my code more secure? [closed]
- MySQLi prepared statements error reporting [duplicate]
- Lost connection to MySQL server at ‘reading initial communication packet’, system error: 0
- Warning: mysqli_connect(): (HY000/2002): No such file or directory
- How do I import a .sql file in mysql database using PHP?
- PHP Fatal error: Class ‘PDO’ not found
- Connect to a MySQL server over SSH in PHP
- How to bind parameters to a raw DB query in Laravel that’s used on a model?
- PHP Warning: mysqli_connect(): (HY000/2002): Connection refused
- MYSQL Select from tables based on multiple rows
- Is “SET CHARACTER SET utf8” necessary?
- Sending HTML Code Through JSON
- Do I really need to do mysql_close()
- convert date string to mysql datetime field
- Turn off warnings and errors on PHP and MySQL
- Stored Procedures, MySQL and PHP
- Checking for an empty result (PHP, PDO, and MySQL) [duplicate]
- MySQL/SQL retrieve first 40 characters of a text field?
- How to use mysqli_query() in PHP?
- Get sum from nodes tree
- PHP/SQL Insert Error when using Named Placeholders
- How to specify the parent query field from within a subquery in MySQL?
- CONCAT columns with Laravel 5 eloquent
- array_push() vs. $array[] = …. Which is fastest? [duplicate]
- How to upload image PHP and insert path in MySQL?