|
er... now that code is a mess....
Personally, I would have one form that would include an option radio button that would allow the user to choose which database to search (much like google has).
Post the form to your own script and check the value of the radio button. Use an If statement or switch statement to determine the actions to take. If the radio button is set to search your own database, then use your local query connection. If not, then post the search to the music database.
The problem you are going to run into is that when you post the variables to music database, the results will load the music stores result page, so the transaction will be quite noticable.
__________________
Please login or register to view this content. Registration is FREE - step-by-step learn how to design, create and install your own website in hours...not days. Please login or register to view this content. Registration is FREEwas never so easy.
|