mysql_fetch_assocの結果を配列として取得し、その配列の特定の値をエコーしたいと思います。それ、どうやったら出来るの?私は試した
$d = array();
while($row_dates = mysql_fetch_array($date_result)){
$d[] = $row_dates;
}
echo $d[1];// this would be the result from the first row
echo $d[3];// this should be the result from the second row.
結果としてArrayを取得しています。