i have this at the moment:
<?php
// start of center
if ($_POST)
{
// Saving file
$File = $_POST['File_name'];
$File_contents = $_POST['File_contents'];
file_put_contents($File, $File_contents, LOCK_EX);
echo "new file $File contents: </br>";
echo $File_contents;
}
else {
// loading file...
i have a script here :
<?php
include 'main.php'; //Include mysql connection
if ($_POST) { // If form posted
$Value_to_change = $_POST['Username'];
$query = "SELECT Street FROM Users WHERE ID=$ID";
$Result = mysql_query($query);
$Row = mysql_fetch_array($Result);
$Street = $Row['Street'];
echo...