what will be the condition of if , where i want to execute some command inside if ,if there is no row returned by the query.
<?php
include_once( config.php );
$db = oci_new_connect(ORAUSER,ORAPASS,"localhost/XE");
$sql="select * from table_1 where id=3";
$result=oci_parse($db,$sql);
oci_result($result);
if()
{
}
else
{
}
?>