I know this is a stupid question but Im a beginner in PHP and know nothing. I need to know how to create a search form that will search a website and return the results. Can anyone give me any sample script? PLEASE?what are you seaching? html files or stuff in a db?html....that is where it will get difficult. you will have to open every single document to search it, then close it and open the next one.
your best bet is to have it in the db. a lot easierok thanks. how exactly would i do that though?
type in every keyword and tell which html file it is in?well since you are a beginner all I can tell you is to read the php manual at <!-- w --><a class="postlink" href="http://www.php.net">www.php.net</a><!-- w -->
if I just gave you the code you wouldn't know what to do with it. no offense but you need to learn first. if not there are plenty of already made scripts at <!-- w --><a class="postlink" href="http://www.hotscripts.com">www.hotscripts.com</a><!-- w --> . take your choice.
your best bet is to have it in the db. a lot easierok thanks. how exactly would i do that though?
type in every keyword and tell which html file it is in?well since you are a beginner all I can tell you is to read the php manual at <!-- w --><a class="postlink" href="http://www.php.net">www.php.net</a><!-- w -->
if I just gave you the code you wouldn't know what to do with it. no offense but you need to learn first. if not there are plenty of already made scripts at <!-- w --><a class="postlink" href="http://www.hotscripts.com">www.hotscripts.com</a><!-- w --> . take your choice.