ok, see the code below
<?
$rsQry = mysql_query ("select * from tblCustomer");
$arrQry = mysql_fetch_row($rsQry);
?>
Now if I try to fetch a Customer's Name from the "Customer_Name" column from the "tblCustomer" table with the following code then I dont get anything:
<?
echo $arrQry["Customer_Name"];
?>
Why?
PS: I have tried this way and it works:
<?
echo $arrQry[0];
?>
But I want to use the column name instead of the column number. Any idea?
Thanx