/    Sign up×
Community /Pin to ProfileBookmark

file_put_contests server error I need help.

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 = $_
POST[‘lastname’];
$pastorname = $_POST[‘pastorname’];
$city = $_
POST[‘city’];
$registration = $_POST[‘registration’];
$resgister = $_
POST[‘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”;

?>

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@NogDogAug 31.2012 — file_put_conte[B][COLOR="DarkRed"]n[/COLOR][/B]ts()
×

Success!

Help @coolguybro spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...