Answers for "mysql updating multiple column values from array variable"

SQL
0

php update multiple columns

$sql = "UPDATE product_list SET product_name='".$product_name."',product_category='".$product_category."',product_price='".$product_price."',product_description='".$product_description."',size_category='".$size_category."'";
Posted by: Guest on June-18-2020
0

mysql updating multiple column values from array variable

"UPDATE product_list 
set 
product_name='$product_name', 
product_category ='$product_category', 
product_price='$product_price',
product_description='$product_description',
product_size_category='$size_category'
where product_id='$product_id'
"
Posted by: Guest on July-08-2020

Code answers related to "mysql updating multiple column values from array variable"

Code answers related to "SQL"

Browse Popular Code Answers by Language