site search
Posted: Fri May 12, 2006 4:13 pm
hey,
anyone knows where to find or you mind telling me how to build searches for my website.
anyone knows where to find or you mind telling me how to build searches for my website.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
If you can find one that does what you want it to, why reinvent the wheel. However, if you love to take on projects just because you 'want to see if I can do this with PHP', then by all means, build one on your own. It really depends on you: your preferences, your abilities, your speed, your knowledge, your patience, your eye color. Well, not really your eye color, but all of the other stuff I said.alexislalas wrote:both, but most of it reads from a database.
whats better to find a script or try to do it by myself?
It always depends on what the user input will be like.alexislalas wrote:both, but most of it reads from a database.
whats better to find a script or try to do it by myself?
Code: Select all
<?php
$query = "SELECT * FROM database WHERE text like '%$needle%' ORDER BY id DESC";
?>