Currently I am working on a page that is going to basically function as a settings page for what I am working on and I am struggling and am not fully sure if this is possible. I was able to get the page to pull up the information in the variable but I wanted to make it so if the person decides to change the information in the box it will change the information in the config.php file.
The variable is like this
$yourname = “George”;
The code I am currently using
I am using this which I am pretty sure it’s wrong since it’s not posting but
<?php if(isset($_POST['yourname '])) $yourname =$_POST['yourname ']; ?>The post form is like this