Hi all this is my 1st post on this forum i found that this is a gr8 forum for newbies like me who wants to learn PHP. I am in a gr8 trouble plzz help me: i am doing my final yr project using PHP and ORACLE so i just made a test form to check that the form cam connect to the database or not and try to insert some data. but its works fine but when i put a button than the button is not working so how i can make it work plzz help me itss URGENT!!!!!!!!!
here is the code:
$c=OCILogon("scott", "tiger", "tanvir");
if ( ! $c )
echo "Unable to connect: " . var_dump( OCIError() );
$s = OCIParse($c, "insert into test values ('$name', '$id')");
// Select Data...
$s = OCIParse($c, "select * from test");
echo "Name = " . ociresult($s, "NAME") .
" , ID = " . ociresult($s, "ID") . "\n";
// Commit to save changes...
// Logoff from Oracle...
WHY SUBMIT & VIEW BUTTON IS NOT WORKING ?????
PHP button problem
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users