I have designed a website for someone that has static information boxes that can be updated through a user update interface. The problem I'm having is remembering how to write the PHP script. Here is what I have if someone can help.
I know I'm missing something.PHP Code:// Variable $update is the receiving variable from the update
// form.
$update=fopen("./infobox1.txt","w+"); //open the txt file
fwrite($update); //write the contents to txt file
fclose($update); //close the file
echo "&infobox1=$update"; // output the file's information




Reply With Quote