progetto di prova che mostra le macchine fiat e un form che permette di contattare
filippo.bertilotti
2024-04-23 1818655021557b94a3856617fb34a323450ee664
display stringa test utilizzando template
2 files modified
2 ■■■■■ changed files
htdocs/contact.php 1 ●●●● patch | view | raw | blame | history
ihtml/contact.tpl 1 ●●●● patch | view | raw | blame | history
htdocs/contact.php
@@ -10,5 +10,6 @@
    echo $string;
    $smarty->assign('provastring', $string);
    $smarty->display('contact.tpl');
?>
ihtml/contact.tpl
@@ -14,6 +14,7 @@
            <input type="text" name="prova" placeholder="metti qualcosa">
            <button type="submit">clicca qui</button>
        </form>
        {$provastring}
    </main>
    {include file="footer.tpl"}
</body>