Jump to content

500 Internal Error


Cooper94

Recommended Posts

Hello I am trying to make a function script for my website and it seems that even when I put this into the function page it gives me a 500 error. I thank you all for you time and for helping me out! * Code is below*

 

<?php
function Date(){
$timestamp = $row['dateRegistered'];
$date = date("m-d-Y", $timestamp);
echo $date;
}
?>

Link to comment
https://forums.phpfreaks.com/topic/189498-500-internal-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.