فرمت تاریخ همانند تصاویر پست های بالا با "-" از هم جدا شده اند.
jdf رو include کردم ، کدها :
خطا :
jdf رو include کردم ، کدها :
<?php if (isset($_POST["submit8"])) { mysql_connect('localhost','root',''); mysql_select_db('taghvim'); include ('jdf.php'); $date1=$_POST['fdate7']; $date2=$_POST['fdate8']; list($sy, $sm, $sd) = explode('-', '$date1'); list($ey, $em, $ed) = explode('-', '$date2'); $sts = jmktime(0, 0, 0, $sm, $sd, $sy); // Start Timestamp $ets = jmktime(0, 0, 0, $em, $ed, $ey); // End Timestamp echo ' <table class="table" border="1" style="font-size:12px"> <tr> <th>ردیف</th> <th>تاریخ های جستجو شده</th> </tr> '; mysql_query('set names "utf8"'); $query="SELECT * FROM bingo WHERE b_val BETWEEN $sts AND $ets"; $records=mysql_query($query); while($user=mysql_fetch_assoc($records)) { echo "<tr>"; echo "<td>".$user['b_id']."</td>"; echo "<td>".$user['b_val']."</td>"; echo "</tr>"; } echo '</table>'; } ?>
خطا :
نقل قول:Notice: Undefined offset: 2 in C:xampphtdocsTaghvim-2process.php on line 180
Notice: Undefined offset: 1 in C:xampphtdocsTaghvim-2process.php on line 180
Notice: Undefined offset: 2 in C:xampphtdocsTaghvim-2process.php on line 181
Notice: Undefined offset: 1 in C:xampphtdocsTaghvim-2process.php on line 181
Fatal error: Call to undefined function jmktime() in C:xampphtdocsTaghvim-2process.php on line 184