Answer the question
In order to leave comments, you need to log in
How to assign the result of echo to a variable?
echo date("d ".$month[date('n')]." Y"),'<br>';
as a result, the date will be displayed in the form of November 09, 2015
How to assign this result to $data ? For example this code:
<?php
$data = echo date("d ".$month[date('n')]." Y"),'<br>'; //куда это все засунуть, кавычки, скобки, квадратные скобки?
$data
?>
<br>
removed it, and everything became as I needed :)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question