Hi all,
how do I call a defined function from a php script in another one?
I've got funktion.php which returns the time of the day.
<?php
date_default_timezone_set("Europe/Berlin");
function Uhrzeit()
{
echo date( 'H:i:s' );
}
Uhrzeit();
?>
I'd like to call the function in another php script(test.php) so that Uhrzeit(); from test.php has access to the function Uhrzeit() from funktion.php.
How do I implement it?
Any help or hint or link is much appreciated. Thank you in advance.