Welcome Guest, Not a member yet? Register   Sign In
Get Function
#1

[eluser]mparas[/eluser]
Hi guys!

I have this code,



FUNCTION f_sal_ok (salary REAL, title REAL)
RETURN BOOLEAN IS
min_sal REAL;
max_Sal REAL;
BEGIN
SELECT losal, hisal INTO min_sal, max_sal FROM sals
WHERE job = title;
RETURN (salary >= min_sal) AND (salary <= max_sal);

IF sal_ok (new_sal, new_title THEN)
....
END IF;


END sal_ok;



It is a code in PL/SQL...

And i have this project that will parse a file/script.

In parsing you have to upload first the file, and then the system will read it(the content inside the file)...And then parse the desired condition..And now, in my part i want to get the sal_ok in the IF Clause..how should i do that?
Please use php...thanks in advance!




Theme © iAndrew 2016 - Forum software by © MyBB