|
| |||||||||
| Tags: oracle, parameter, php, procedure |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| ||||
| ||||
| Passing parameter of Oracle procedure in PHP
I would enjoy if you have information regarding the parameters of a stored procedure in oracle. Indeed, I run the procedure as follows with the desired result (in a writing table ..) Code: Declare
- p_trayno NUMBER;
p_frame_1 VARCHAR2 (255);
p_frame_2 VARCHAR2 (255);
p_frame_3 VARCHAR2 (255);
p_frame_4 VARCHAR2 (255);
p_frame_exp1 VARCHAR2 (255);
p_frame_exp2 VARCHAR2 (255);
p_frame_exp3 VARCHAR2 (255);
p_frame_exp4 VARCHAR2 (255);
p_msg VARCHAR2 (255);
P_tray NUMBER: = 35764;
begin
PDL.Pr_send (
p_tray,
p_frame_1,
p_frame_2,
p_frame_3,
p_frame_4,
p_frame_exp1,
p_frame_exp2,
p_frame_exp3,
p_frame_exp4,
p_msg);
end;
/
commit; My problem actually occurs when I call the procedure in PHP: Here is the end of the code concerned. PHP Code: Quote:
|
|
#2
| ||||
| ||||
| Re: Passing parameter of Oracle procedure in PHP
Try replacing PHP Code: PHP Code: |
|
#3
| ||||
| ||||
| Re: Passing parameter of Oracle procedure in PHP
When I replace the old query: PHP Code: you have an idea please? |
|
#4
| ||||
| ||||
| Re: Passing parameter of Oracle procedure in PHP
It is a syntax error. When you write "Begin PDL.pr_send (: tray_no,: p_frame_1 ...", the line is not interpreted, it considers that it is a single command. Try not commit, just PHP Code: |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Passing parameter of Oracle procedure in PHP" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Passing object as a parameter in a method | Karumbu | Software Development | 4 | 06-01-2011 01:07 AM |
| Passing an ArrayList From the Form as Parameter | Sheenas | Software Development | 8 | 20-06-2010 11:45 AM |
| Problem While Passing Parameter To Servlet In JSP | Jagdish Gada | Software Development | 5 | 29-01-2010 02:33 PM |
| Passing function parameter and static | Banjiji | Software Development | 3 | 27-10-2009 08:32 PM |
| Parameter passing using NavigateURL | Sachit | Software Development | 3 | 26-03-2009 10:25 AM |