PDA

View Full Version : random listings


roxytoo
11-21-2010, 01:00 PM
Hi

Have static pages with listings on, is it possible in dreamweaver to change the listings randomly when people view?

For instance the page here, can the listings alternate?

http://www.spainrentalsite.com/jardindelmar.php

Thanks!

Corrosive
11-21-2010, 01:08 PM
Not static, no. You'll need a databse of listings and generate randoms out of that. PHP and MySQL should do the trick.

roxytoo
11-21-2010, 01:10 PM
Thanks, being a newbie still with dreamweaver, the pages are in PHP, do I still need to get a database of all the properties?

Corrosive
11-21-2010, 01:16 PM
I would if I were you. Would make it far easier to manage it all. Nothing wrong with what you have done it just won't be all that flexible.

roxytoo
11-21-2010, 01:36 PM
Thanks! Will start reading!

Corrosive
11-21-2010, 01:40 PM
I would suggest that you look at some CMS and framework packages before you build one. Look at Joomla, Drupal etc. for some inspiration. I'd imagine that many people have developed similar functionality for one of those.