Hi everyone,
I need a bit of guidance on a particular problem:

A client of mine wants a search functionality added to his site. The site would have a form which when submitted would display a list of results. The client would also need to update the site himself.

I only know CSS & XHTML and was wondering if anyone could guide me into whats the best approach in creating a solution for this problem; either being using a particular script, language of using a cms like joomla.


Thanks!

Ryan

The first question you need to answer is what are you searching - records in a database or the website itself?

The first question you need to answer is what are you searching - records in a database or the website itself?

Hi There,
Its a a real estate website so it will need to search a database.

The only fields needed are:

  • Property Type
  • Price Range
  • Location
  • Tolet/Sale

I have some knowledge in sql server (creating tables, normalization)
What will be my best language to learn?

Thank you.
Ryan

Your best bet - since it's going to be online - php with mySQL. Chances are your client's host has that available. There are lots of tutorials out there. Shouldn't be that difficult if you already have some knowledge of setting up and accessing databases.

Great. Thank you for the guidance, Ill start researching php now. One last small question.... what can the client use to update the db from his end?

Thanks

1) Either you can create adminpanel for him where you create php pages (that will manage database)
2) your client directly make changes to database using available tools like phpmyadmin for mysql(this is dangerous if client is IT illiterate)

When dealing with clients who may be DB illiterate, it's not that more difficult to create a form that will read the database and allow the client to edit it. You can set the form up with as much tutorial info you think they need.

For my clients I put the admin stuff in a password protected directory. (and then they call me to do the updates since the password screen is so scary. LOL)

Perfect. Ill start my research and let you guys know the progress! Really want to accomplish this. Might be easy for some but id love to get something like this work and build up on it.

Thanks everyone.
Ryan

You learn by doing - I was terrified of PHP (Perl is logical, right...? LOL) Then I got a client with a host with non-existent cgi-bin support but with PHO and mySQL... I now do PHP.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.