0
$dob=new DateTime($row[DOB]); // Create a date object from the DOB field
$age=$cd->diff($dob); // Find the difference between the 2 dates
echo $age->format(" Age:%y Years %m Months %d Days"); // Display the years, months and days
echo"<td>".$row[$age]."</td>";
echo "<td>".$row[WEIGHT]."</td>";
echo "<td>".$row[UNIT_WEIGHT]."</td>";
あなたの年齢 – Ravi
感謝ラヴィといくつかのスクリーンショットを示すので、あなたは、実際に何を質問されたが、私は答えを得た私はあなたを求めることができ、それは、それぞれのrow.butに応じて表に上記の年齢を入れて、実際ましたもし私がhtmlページ自体に検索結果を表示していたら、どうすればいいですか?リンクがありますが、うまくいきませんでした。 –