insert into top (name,site,chronicle,rates,date,disable) VALUES('l2frost.net','l2frost.net','6','2000','08.02.2013','0');
но дата тут не такая как должна быть
'08.02.2013
пытаюсь её изменить вот таким способом
$a = preg_match_all("/([0-2]\d|3[01])\.(0\d|1[012])\.(\d{4})/", $text, $matches);
//print_r($matches);
$date1 = $matches['1']['0'];
$date2= $matches['2']['0'];
$date3= $matches['3']['0'];
$date = $date1.".".$date2.".".$date3;
$normaldate = $date3.".".$date2.".".$date1;
$text=preg_replace("^".$date."^",$normaldate,$text);
но меняет только одну строчку