Code: Select all
<center>
<a href="main.php?id=profile">Profile</a>
<a href="main.php?id=newsletter">Newsletter</a>
<a href="main.php?id=portfolio">Portfolio</a>
<a href="main.php?id=employment">Employment</a>
<a href="main.php?id=contact">Contact</a>
</center>this is the outcome
Code: Select all
<center>
<a href="main.php?id=profile">Profile</a>
<a href="main.php?id=newsletter">Newsletter</a>
<a href="main.php?id=portfolio">Portfolio</a>
<a href="main.php?id=employment">Employment</a>
<a href="main.php?id=contact">Contact</a>
</center>Code: Select all
$pw=$_POSTї'pw'];
$id=$_POSTї'id'];
$info=$_POSTї'info'];
$fp = fopen('files/'.$id, "w");
fwrite($fp, $info);
fclose($fp);