WarMad Posted July 21, 2022 Share Posted July 21, 2022 i am trying to create the events page for a new engine im making and im getting this error Fatal error: Uncaught Error: Undefined constant "F" in /storage/ssd1/568/18613568/public_html/events.php:38 Stack trace: #0 {main} thrown in /storage/ssd1/568/18613568/public_html/enents.php on line 38 this is the line causing the issue <td align="right">'.date(F.' '.d.', '.Y.' '.g.':'.i.':'.sa,$row['time']).'</td> fixed thanks adam Quote Link to comment Share on other sites More sharing options...
Dayo Posted July 22, 2022 Share Posted July 22, 2022 You don't need all of the '. .' etc ... This should work as you intend <td align="right">'.date("F d T g:i:sa", $row["time"]).'</td> 1 Quote Link to comment Share on other sites More sharing options...
WarMad Posted July 27, 2022 Author Share Posted July 27, 2022 On 7/22/2022 at 6:49 AM, Dayo said: You don't need all of the '. .' etc ... This should work as you intend <td align="right">'.date("F d T g:i:sa", $row["time"]).'</td> <td align="right">'.date("F d T g:i:sa", $row["time"]).'</td> your amazing thank you sorry for the late reply Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.