while ($row = mysql_fetch_array($sqlquery))
{
$fd = strtotime($row['date1']);
$sd = strtotime($row['date2']);
$dates = floor(($sd - $fd ) / 86400);
$price = $dates * 25;
}
$price
行ごとに別のテーブルに挿入したい。$price
毎回異なるため、単一のインサートではこれを行うことはできません。