date 000000
Posted by: Tanuj Sati (223.181.99.---)
Date: May 03, 2020 02:44PM

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.

Options: ReplyQuote
Re: date 000000
Posted by: RiggsFolly (Moderator)
Date: May 03, 2020 04:31PM

Hi,

1. This site is not for PHP Error debugging.
2. You give us almost NO useful information to enable us to help you anyway. We are not clairvoyant

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.2.0 32bit & 64bit)
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.19>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.