Ben PHP için yeni. Iv küçük bir php script yarattı. Temelde ben bir form var ve bunun içinde ben show_sent adında bir işlevi var:
<form method="post" action="contact.php" class="formstyle">
<h2>Formulaire de contact : </h2>
<p> </p>
<?
function show_sent(){
?>
<p>Sent</p>
<?
} // the function finishes here
?>
.......
I was hoping that it would only show the 'Sent' text when I call that function. How could I do this? Thanks
contact.php form olarak aynı sayfası