Code: Select all
file1.php
<?php
include('functions.php');
if ( $_POST ){
$fail = ordercheck( $_POST );
}
?>
functions.php
<?php
function ordercheck( $_POST ){
CODE HERE...
return $fail;
}
?>
Parse error: syntax error, unexpected $end in /path/functions.php on line 64
Where's my problem? Thanks!