Dear All,
I am using the following code to get some values in an array.
for($irow=0;$irow<count($aryInput);$irow++)
{
$aryInputLine=explode("\t\t",$aryInput[$irow]);
$cid=$aryInputLine[0];
$phid=$aryInputLine[1];
$paid=$aryInputLine[2];
$btscall=$aryInputLine[6];
$btecall=$aryInputLine[7];
$lddays=$aryInputLine[8];
if($btscall==null)
{
$stcall1=mysql_query("select Physician_info_default_start_time_to_call from CTMedia_physician_info
where Physician_info_physician_id = '$phid'");
while($a_row1 = mysql_fetch_row($stcall1))
{
foreach($a_row1 as $time1)
print "StartTime: $time1";
print "<td>";
}
}
Because of the while loop it is returning multiple values to me. So can any body please help me on how to get single value at a time using some other loop structure?
Thanking you very much.
regards.
Indrajit