View Full Version : what's the différence :rentalsearch and listingsearch

03-25-2004, 02:00 PM

There are two files : listingsearch.php and rentalsearch.php, and only listingsearch.php is ok, rentalsearch.php is not ok ( alerady empty ) why, and what the difference between these files, it's the same fonction ?

Thank's for your help

03-25-2004, 03:47 PM
listingsearch.php is a file that lets the visitor search every listing in your DB (so long as it is active).

rentalsearch.php only searches the rental properties in your db.

I am using rentalsearch as I am only dealing with rentals.

Good luck.

03-26-2004, 10:14 AM

Thank's for your help,

but i have no result by rentalsearch, just listing search is good, why ?

I submit correctly a form, but there no option or checbox for rental ?

I have submit 3 home and i can the these home with listing search ?

I don't understand :-(


03-30-2004, 09:38 AM
Hi there :)
Just did some amendment so that my rentalsearch.php will turn out right. At first the 'type' field I amended to many other options, landed for sale||non-landed for sale||commercial for sale||HDB for sale I realised that 'type' field is used by rentalsearch.php to render in listing for 'browse all rental'. Then, I have to change 'type' field to only two option i.e Rental||Sale Ah yes, now all my rental list turned out alright. You really have to check on your 'type' field. The expanded 'type' I have to create another field 'type_cat' Also, have to edit all your rental property listing to select 'Rental' and thus this property will show up :wink: