Hi guys,
I got a music site and right now it has two seperate search forms. 1 for searching for music titles and the other search for videos.
I would like to merge these so that the user has to input there text than from a drop down select the artist or video.
Can anyone help with this?
Here are the codes:
video search:
Artist search
I got a music site and right now it has two seperate search forms. 1 for searching for music titles and the other search for videos.
I would like to merge these so that the user has to input there text than from a drop down select the artist or video.
Can anyone help with this?
Here are the codes:
video search:
Code:
<form action="search.php" method="post">
<div class="spacer"><b>Video Title:</b></div>
<div class="spacer"><input type="text" name="title" class="bginput" /></div>
<div class="spacer"><input type="submit" value="Find Videos" class="button" /></div>
<input type="hidden" name="do" value="title" />
</form>
Artist search
Code:
<form action="search.php" method="post">
<div class="spacer"><b>Video Artist:</b></div>
<div class="spacer"><input type="text" name="creator" class="bginput" /></div>
<div class="spacer"><input type="submit" value="Find Artist" class="button" /></div>
<input type="hidden" name="do" value="creator" />
</form>
Last edited:





