check it
Posted: Wed Oct 22, 2003 2:44 am
Wel i think it will work definately ................
In the Memory of my best friend Aamir Idrees Iqbal
Who is not in this World
Code: Select all
<?php
<?php
if (ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})", $date, $regs)) {
echo "$regs[3].$regs[2].$regs[1]";
} else {
echo "Invalid date format: $date";
}
?>
?>In the Memory of my best friend Aamir Idrees Iqbal
Who is not in this World