Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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'
"
 
PREVIOUS NEXT
Tagged: #mysql #updating #multiple #column #values #array #variable
ADD COMMENT
Topic
Name
1+2 =