Only show form if there is PHP

CerMataJary

New Member
I'm new to PHP. Iv created a small php script. Basically I have a form and inside of it I have a function called show_sent:\[code\] <form method="post" action="contact.php" class="formstyle"> <h2>Formulaire de contact : </h2> <p>&nbsp;</p> <?function show_sent(){ ?> <p>Sent</p> <?} // the function finishes here?>\[/code\].......I was hoping that it would only show the 'Sent' text when I call that function. How could I do this?Thankscontact.php is the same page as the form
 
Back
Top