PHP PHP Basics PHP on the Web Date Function

Angelie Sioson
Angelie Sioson
Front End Web Development Techdegree Student 2,996 Points

what is the right answer?????? please helpp

I don't understand where my error is.

index.php
<?php

//Place your code below this comment

$today = date('F d, Y'); 

echo "Today is $today";

?>

2 Answers

<?php
echo 'Today is ';
//Place your code below this comment
echo  date('F d, Y');
?>