im trying to learn php and i came across this sample code
what is the line "$d=date("D");" doing and why is it not setting a value of fri or somethingCode:<html> <body> <?php $d=date("D"); if ($d=="Fri") echo "Have a nice weekend!"; else echo "Have a nice day!"; ?> </body> </html>





Reply With Quote