Jump to content

I need help desperately !!!!!!


Murari

Recommended Posts

Hello everybody, 2 days ago i posted to get help but couldn't get response. Now i created some part of which i need.but major problems which i faced

still didn't solve.

 

<< I created this form >>

 

<form id="form1" name="form1" method="post" action="welcome1.php">
                <table width="330" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="129">Place :</td>
                    <td width="201"><select name="place" id="place">
                      <option>Rotterdam</option>
                      <option>Den haag</option>
                    </select></td>
                  </tr>
                  <tr>
                    <td>House Type :</td>
                    <td><select name="house" id="house">
                      <option>Rent House</option>
                      <option>New House</option>
                    </select></td>
                  </tr>
                  <tr>
                    <td> </td>
                    <td> </td>
                  </tr>
                  <tr>
                    <td>Price From</td>
                    <td><select name="price_from" id="price_from">
                      <option>100000</option>
                      <option>150000</option>
                      <option>200000</option>
                      <option>250000</option>
                      <option>300000</option>
                    </select></td>
                  </tr>
                  <tr>
                    <td>Price To</td>
                    <td><select name="price_to" id="price_to">
                      <option>100000</option>
                      <option>150000</option>
                      <option>200000</option>
                      <option>250000</option>
                      <option>300000</option>
                    </select></td>
                  </tr>
                  <tr>
                    <td> </td>
                    <td> </td>
                  </tr>
                  <tr>
                    <td> </td>
                    <td><input type="submit" name="Submit" id="Submit" value="Submit" /></td>
                  </tr>
                </table>
                <p> </p>
              </form>

 

 

And i created form action page that is welcome1.php like below codes

 

<?php  Here are house lists in 
echo $_POST["place"]; ?>
<br />
You can choose   
<?php 
echo $_POST["house"]; ?>
which you like <br />

House price ranging from :

<?php  
echo $_POST["price_from"]; ?>
<br />

To : 
<?php 
echo $_POST ["price_to"]; ?>

 

however this works but it's not the way which i want.

 

***

what i want is :

when people click like, for example :

 

place name : Rotterdam :,

house type : Rent House : ,

Price from : 100000 ,

Price to : 250000

 

it must display result in new page with Rotterdam, rent houses (many) with price ranging from 100000 to 250000.This way for each place, each house type and each price, new result page should display.

 

For that point, i couldn't figure out.  :confused: somehow i think php array have to use but still i can't figure it out.

 

Please help me to solve it ???

 

Your help will be appreciated

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.