![]() |
Get Function - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Get Function (/showthread.php?tid=39054) |
Get Function - El Forum - 02-27-2011 [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! |