Thursday, 30 August 2018
Subscribe to:
Post Comments (Atom)
while ($Row = mysql_fetch_array($mySQLData))
{
$assocarraydata[]= array('field1'=>$Row["field1"]);
};
//Put Data into an regular array
while ($Row = mysql_fetch_array($mySQLData))
{
$field1[] = $Row[field1];
}
echo $field1[1];
// echo the value of field1 from the second (index 1) row of data
echo $assocarraydata[1]['field1'];
Hello Friends! I am Ramana a part time blogger from Hyderabad.
0 comments:
Post a Comment