In this we are use min aggregate function for getting the firstly inserted date .
$sql="select min(created_user_date) as first_created_date from users where user_email='$email'";// where $email is the users input.
mysql_query($sql);
echo $first_created_date;
No comments:
Post a Comment