
Originariamente inviata da
badaze
Meglio usare <?php e non <?
Non sono sicuro di avere capito al problema. Comunque.
File : test9017.php
Codice PHP:
<?php
if (isset($_POST['submit'])) {
$action = $_POST['submit'];
if ($action == "Salva") {
file_put_contents("pippo.txt",$_POST['meta']);
$meta_file = $_POST['meta'];
} else {
$meta_file = file_get_contents("pippo.txt");
}
} else {
$meta_file = "";
}
?>