Jump to content

PHP form help


nordlinder

Recommended Posts

Hey guys, quick question... I am starting a small hosting company for my area, and I am stuck on something.. As you can see below, I have a question in my form asking if they have a domain. I want to be able to have a different question show up in the next row down depending on what their answer is. So, if they answer yes, a question shows up asking "What is it?" with a text box for the domain... or if they say no, a question asking "What domain do you want?" shows up with a text box for the answer. I want the next question that shows up to go in the space marked with

<?php Next question goes here ?>

 

<tr>
<td valign="top">
  <label for="first_name"><h2>Do you already have a domain name? </h2>Ex. www.yoursite.com</label>
</td>
<td valign="top">
  <input type="radio" name="domain" value="yes" /> <font size="4">Yes</font><br />
  <input type="radio" name="domain" value="no" /><font size="4"> No</font>
</font></td>
</tr>
<tr>
<td> <?php Next question goes here ?></td>
</tr>

 

Thanks in advance.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.