Murari Posted September 10, 2009 Share Posted September 10, 2009 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. 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 Quote Link to comment https://forums.phpfreaks.com/topic/173773-i-need-help-desperately/ Share on other sites More sharing options...
jazz Posted September 12, 2009 Share Posted September 12, 2009 Do you have all that information in a database? Did you write code to query the database and get results? Quote Link to comment https://forums.phpfreaks.com/topic/173773-i-need-help-desperately/#findComment-917137 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.