Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Supposed to be showing the date

$
0
0
<?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


Viewing all articles
Browse latest Browse all 13200