i used
mysqli_set_charset($con, 'utf8'); used to print hidi text with english text
$p="SELECT * FROM notice ";
$t=mysqli_query($con,$p);
$d=date('d');
while($r=mysqli_fetch_array($t))
{
echo"<marquee>";
echo"<tr> <td>";
echo"$r[0]"; --------------- for date
echo"</td>"
echo"<td>";
echo"$r[1]"; --------------- for hindi and english text
echo"</td>";
echo"</tr>";
echo"</marquee>";
}
?>
but date shows 0000-00-00 Today's exam will be scheduled according to the time table Thank you
0000-00-00 मुख्य शिक्षाधिकारी जी
Edited 1 time(s). Last edit at 05/03/2020 04:28PM by RiggsFolly.