Hello,
this is my current php echo code line
PHP Code:
echo "uploaded: " . date("m-d-y", fileatime("users/$username$viewurl/$filearray[$index]"));
I would like to add
PHP Code:
<span class="text2"> and </span>
to the above php code.
when i tried this combining span class and php
PHP Code:
echo "<span class=\"text2\">"uploaded: ". date("m-d-y", fileatime("users/$username$viewurl/$filearray[$index]"))</span>";
Im getting "Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'"
What should i do or how do i correct this?
thank you