Here is my code..here is error in my code is--
Warning: mysql_fetch_array() expects parameter 1 to be resource... pls resolve it
I just want to get the call status from id which is a get from stored procedure in my table.
<?php
echo "Result from SP procOutput_sum:::::$SP_VAL";
$mysqli = mysql_connect("localhost", "root", "", "call_conference");
if (!$mysqli) {
die('Could not connect: ' . mysql_error());
}
?>
<?php
$select="select call_status from tbl_call_origin where id='$SP_VAL'";
while ($row = mysql_fetch_array($select)){
echo 'Status: '.$row['call_status'];
}
?>