Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)
$start = $_POST["start"]; $end = $_POST["end"]; $start_ts = strtotime($start); $end_ts = strtotime($end); $sql=mysql_query("SELECT endperiod from obresti WHERE startperiod <= '$start_ts' AND endperiod >= '$start_ts'"); $row=mysql_fetch_array($sql); $date=$row['endperiod']; echo $date;
Join the community of 500,000 technology professionals and ask your questions.