I would like through a change the message html form a "php echo" I thought maybe there would be a way to edit the php file to display a message type or another as edit from the form. I would do it without having to make another request to a database.
The "echo" I want to change is this when you end the function that sends the data to the database.
if ($name){
$sql= "INSERT INTO box (name, mensaje) VALUES ('$name', '$mensaje')";
mysqli_query($DB, $sql);
echo "All it uploaded correctly, but on Saturday, opening day,
have to wait until an administrator validate the content. Thank you.";
}
Perhaps the question is silly, but I've never done something like and now I can not think how.
Would there be any way to edit the file "echo php" from a form? Is there any other way?