how to create-call stored procedure

Reply

Join Date: Apr 2006
Posts: 62
Reputation: Fenerbahce is an unknown quantity at this point 
Solved Threads: 0
Fenerbahce Fenerbahce is offline Offline
Junior Poster in Training

how to create-call stored procedure

 
0
  #1
Apr 7th, 2008
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.

  1. $comboSecenek=$_POST["ComboBox"];
  2. $adet=$_POST["adet"];
  3.  
  4. $sql = "UPDATE product SET amount = amount + '$adet' WHERE name = '$comboSecenek'";
Last edited by peter_budo; Apr 7th, 2008 at 8:50 pm. Reason: Double post
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 883
Reputation: pritaeas will become famous soon enough pritaeas will become famous soon enough 
Solved Threads: 144
Sponsor
pritaeas's Avatar
pritaeas pritaeas is offline Offline
Practically a Posting Shark

Re: how to create-call stored procedure

 
0
  #2
Apr 8th, 2008
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 1660 | Replies: 1
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC