PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a website where people can buy ads, kind of an online classifieds. What are the steps i should take to set up a site search engine so users can submit ads and search them using keywords?
how exactly would i go about setting up the database to allow people to add the ads? and how would i retrieve them using "LIKE" in my query, im new to php and MySQL.
but be aware that queries with a % at the beginning of a search string (select * from tablename where fieldname like '%searchtext%') take a lot longer to search for as the database has to look at every record.