adique_7
05-28-02, 23:41
| hi.. i just want to know how's the script to make a process of delete? may u see coding like below: include("common.php"); $connection = OCIlogon("PAYROLL", "PAYROLL", "DEMODB"); $stmt = OCIParse($connection, "DELETE FROM PRM_CARUMAN WHERE CARUM_KOD = '" .$carum_kod. "' "); $ret = OCIExecute($stmt); if ($carum_kod== "") { echo("Code cannot be NULL!"); } else { $username="PAYROLL"; $password="PAYROLL"; $database="DEMODB"; $connection = OCIlogon($username, $password, $database); $ret = insert_rec($connection,$tabname,$field_values,$dat a_type); } may u help me... thank you... |