Hi,
I need a PHP script where it displays different HTML when certain values are submitted to the PHP script in the form of a form field named 'domain'.
When either the number 1,2,3,4,5,6,7,8,9,10,11,12,13,14 or 15 are entered in the form field 'domain', i'd like it to show this HTML:
<form method="POST" action="**********/credits.php">
<p align="center"><input type="submit"
value="Buy (Place Domain Form Field Here) Credits For ? Place Total Form Field Here)"></p>
</form>
If the form field is left empty, i'd like it to show:
<center><H2> Thank You For Your Payment! </H2></center>
And if anything else is entered (eg domain.com) I'd like it to show:
<form method="POST" action="**********/form.php">
<p align="center"><input type="submit"
value="Buy the domain (Place Domain Form Field Here)"></p>
</form>
Does any one know how this can be coded?
Any help would be gratefully received!
Regards,
Robert Kerry
I need a PHP script where it displays different HTML when certain values are submitted to the PHP script in the form of a form field named 'domain'.
When either the number 1,2,3,4,5,6,7,8,9,10,11,12,13,14 or 15 are entered in the form field 'domain', i'd like it to show this HTML:
<form method="POST" action="**********/credits.php">
<p align="center"><input type="submit"
value="Buy (Place Domain Form Field Here) Credits For ? Place Total Form Field Here)"></p>
</form>
If the form field is left empty, i'd like it to show:
<center><H2> Thank You For Your Payment! </H2></center>
And if anything else is entered (eg domain.com) I'd like it to show:
<form method="POST" action="**********/form.php">
<p align="center"><input type="submit"
value="Buy the domain (Place Domain Form Field Here)"></p>
</form>
Does any one know how this can be coded?
Any help would be gratefully received!
Regards,
Robert Kerry