Hi guys i dont know how to implement this script but i have seen it been used befor. This is what i have so fare.
<?
if ($result == “”) {
?><?php
echo “www.$domain_field “;
?><?php
echo “$dot”;
?><?
} else {
?><?php
echo “www.$existing_domain_name”;
?><font face=”verdana,helvetica,arial” size=”2″><?php
echo “$dot1”;
?>
What i am trying to on the previous page the user is asked to if they already have a domain name if they do the give me the name in the “existing_domain_name” field followed by the type of domain like .com .net, which is selected from the dot1 dropdown menu. If they dont have a domain name the enter the desired domain name in the “domain_field” text box followed by the doamin type from the “dot” drop down menu.
I dont know how to use the (if) or (else) script can someone please tell me.
Thank You.