Jump to content

Supposed to be showing the date


webdevdea1

Recommended Posts

<?php
echo "Hello World. Today is ".date("1").".";
?>

How are you ?

Hello World. Today is <?php echo date("1"); ?>. How are you ?

I cant understand my code is like the example.. help please.. 

Here is the link to what it produces

http://dandewebwonders.com/WebDev2/one.php

Its supposed to say hello world today is wednesday . How are you ?

( that is what the book says)->build in date function displays the current day of the week according to the servers system time

Link to comment
https://forums.phpfreaks.com/topic/284671-supposed-to-be-showing-the-date/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.