Fatal error: Call to undefined function file_put_contests() in /www/zxq.net/n/d/y/ndyouthconference/htdocs/index.php on line 15
This what i get and the php code i am using is
<?php
$fristname = $_POST[‘fristname’];
$lastname = $
$pastorname = $_POST[‘pastorname’];
$city = $
$registration = $_POST[‘registration’];
$resgister = $
$gender = $_POST[‘gender ‘];
$data= $fristname . “,” . $lastname . “,” . $pastorname . “,” . $city . “,” . $registration . “,” . $resgister . “,” . $gender;
$ndCsv=”ndfile.csv”;
$ndfile=”ndfile.html”;
file_put_contests($ndfile , $data . PHP_EOL, FILE_APPEND);
file_put_contests($ndCsv , $data . PHP_EOL, FILE_APPEND);
echo “registation compelete”;
?>