echo "
File last Modified ". Date (" y-m-d h:i:s) ", $file _info[' mtime ']);
echo "
File last modified time "this paragraph read
appended with the. Date ("y-m-d h:i:s)", the connection is why the two double quotes are added, and why the quotation marks are placed outside the brackets. That's not clear.
Reply to discussion (solution)
Write it wrong,
echo "
File last Modified ". Date (" Y-m-d h:i:s ", $file _info[' mtime ']);
Date ("Y-m-d h:i:s", $file _info[' mtime ']);
Date ("y-m-d h:i:s)", $file _info[' mtime ']);
More than one parenthesis, run down to understand.
Wrongly written, that parenthesis should not have.
Wrongly written, that parenthesis should not have.
Wrongly written, that parenthesis should not have.
Your code:. Date ("y-m-d h:i:s)", $file _info[' mtime ']);
Replace with:. Date ("Y-m-d h:i:s", $file _info[' mtime ']);
Where you don't understand, is the last place you should not understand.
Where the string is not over, you can't get it out of context.
Any content can be saved in a string, including the format string of date
You take date ("Y-m-d h:i:s", $file _info[' Mtime ') as a string
PHP uses dots (.) to stitch strings
echo "
File last modified time. Date ("Y-m-d h:i:s", $file _info[' mtime ']);
A discussion caused by a careless person
Thank you guys for starting out with a lot of basics don't understand knot stickers