Simple php search ?

Suspended
Joined
30 Jan 2005
Posts
467
Is this possible. Having a text box with a submit button. And if someone types in blink182, it searches songs.php and if it finds the exact match $blink182 = 'songs/blink182/'; it displays a link going to the url stated in $blink182 ?

So songs.php would just look like this.

<?php
$blink182 = 'songs/blink182/';
$sum41 = 'songs/sum41/';
$greenday = 'songs/greenday/';
?>
 
Back
Top Bottom