Hi,
I want to call a stored procedure for the below php code. How can i create a stored procedure and call it for below program instead. Mysql please.
Thanks.

$comboSecenek=$_POST["ComboBox"];
$adet=$_POST["adet"];

$sql = "UPDATE product SET amount = amount + '$adet' WHERE name = '$comboSecenek'";
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.