Answer the question
In order to leave comments, you need to log in
Updating data in mysql vs.?
Hello.
Through this query, I add fields such as model (article), quantity (quantity) and price (price) to the product database. How now to make an update in the database compared to the article? (model) i.e. so that only the price and quantities are updated, and with the article it only compares exactly where to update / add the price
$ins="INSERT INTO `product` (`model`,`quantity`,`price`
)VALUES('$cell1','$cell2 ','$cell3')";
$query = mysql_query($ins);
if(!$query){
die('Error');
}
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question