Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi I got a syntax problem and have been looking at the lines for bout an hour now and cant find my froblem can anybody help please?

PHP
echo "<span style="color:#828282">" . "(" . date( 'D H:i:s', $list['StringyChat_time'] )  . ") " . "</span>" . "" . $list['StringyChat_name'] . "" . " : " . $list['StringyChat_message'] . "<br />";
Posted
Updated 12-Sep-20 8:03am

1 solution

Try this
echo "<span style='color:#828282'>(". date( 'D H:i:s', $list['StringyChat_time'] ) .")</span> ". $list['StringyChat_name'] ." : ".$list['StringyChat_message'] . "<br />";
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900