Jump to content

neeeeeddd helppppp php


Minimeallolla

Recommended Posts

it doesnt echo into the file

 if (isset($_POST['submit'])) { 

$firstname = ($_POST['firstname']);
$lastname = ($_POST['lastname']);

$filename = "***/$username.info.php" or exit("Unable to open file!");
$handle = @fopen($filename, 'x+')or die(mysql_error()); 
$content = ('$firstname');
@fwrite($handle, $content)or die(mysql_error()); 
@fclose($filename);
}

Link to comment
https://forums.phpfreaks.com/topic/218101-neeeeeddd-helppppp-php/
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.