i have a music website....
i want that there would b a search option.. whenever user type some file name of song in search text box.... then if that song is available in site then user required song which he searched........ comes on next page ?
can any one tell me ?
How Can I Search In My Site ?
Moderator: General Moderators
set up a table:
There are better ways to search, this is the most basic.
Code: Select all
$mySearch = 'some song';
SELECT title,track from mymusic where title like '%$mySearch%'