change this
if(mysqli_affected_rows($con, $insert_member_res)>0)
to
if(mysqli_affected_rows($con)>0)
mysqli_affected_rows
only requires connection link
object but you passed query object also that was the problem
More Related Contents:
- PHP DateTime supported formats
- Can I call a PHP function in a JavaScript click handler?
- How to create a chat program using php and mysqli for chatting [closed]
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE `id` [closed]
- Can I store images in MySQL [duplicate]
- MySQL – This version of MySQL doesn’t yet support ‘LIMIT & IN/ALL/ANY/SOME subquery
- PHP PDOException: “SQLSTATE[HY093]: Invalid parameter number”
- Insert multiple rows with one query MySQL
- Why is using a mysql prepared statement more secure than using the common escape functions?
- localhost vs. 127.0.0.1 in mysql_connect()
- iPhone emoticons insert into MySQL but become blank value
- Inserting into MySQL from PHP (jQuery/AJAX)
- PDOstatement (MySQL): inserting value 0 into a bit(1) field results in 1 written in table
- Selecting all columns that start with XXX using a wildcard?
- How to delete mysql row after time passes?
- Echo menu tree with recursive function
- How to select multiple rows from mysql with one query and use them in php
- php run once and insert twice in mysql database
- Connect DATABASE Error TYPE: 2002: Permission denied
- split keywords for post php mysql
- Laravel Cannot delete or update a parent row: a foreign key constraint fails
- Inserting NOW() into Database with CodeIgniter’s Active Record
- How to convert excel file into mysql database? [duplicate]
- How to backup MySQL database in PHP?
- Create PHP array from MySQL column
- UNION syntax in Cakephp
- Convert Time String to Decimal Hours PHP [closed]
- How do i search from serialize field in mysql database?
- What is the PDO equivalent of function mysql_real_escape_string?
- Installing PDO driver on MySQL Linux server