Hi I had a database . I need to take one of the cell content into an array. I had code but not working
$select=mysql_query("SELECT * from db where name='rajeesh'") or die(mysql_error());
$new=mysql_fetch_array($select);
$forfriends=$new['first'];
$forf=array ($forfriends);
while (list ($key, $val) = each ($forfriends)) {
echo "$key -> $val <br>";
}
But this is not working.. Please help me
And thanks
Rajeesh