Here's my code:
<INPUT TYPE="image" SRC="images/homepage_butto
n.jpg" width="200" height="17" border="0" onClick="this.style.behavi
<?php echo $contestant_id; ?>');">
It works. My homepage becomes the page I've got referenced. The only snag is that as soon as youc click the button, the page gets an error because the URL has some random code as the id number, consequently you get all kinds of errors.
Again, the page is made the homepage, but in the process the page refreshes with the same URL, but you've got a different set of characters for the id number. In this case, instead of the URL being http://www.countryshowdown.com/Texaco/contestant.php?id=19022
, instead the page you get after you click the button is http://www.countshowdown.com/Chevron/contestant.php?x=80&y=10
What am I missing?