View Single Post
ישן 24-01-07, 21:54   # 10
Eli-Hai
משתמש - היכל התהילה
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
הודעות: 2,758

Eli-Hai לא מחובר  

BlueNosE, למה substr? אפשר להשתמש ב-explode.
PHP קוד:
$current_date explode("-"date("d-m-y"));
$birthday_date explode("."$_GET["date"]);

$current_date[0]; // day
$current_date[1]; // month
$current_date[2]; // year 
  Reply With Quote