Jump to content

can't send html link with php value from isset echo to next page


thomas_xyz

Recommended Posts

i'm trying to send information to the following page but can't seem to do so. this might be a html problem i build an if (isset($_REQUEST[""])) to have one side link and another form. problem is that for the image link i set up, i can't send value to the following page

<?phpif (isset ($_REQUEST['code']))$code=$_REQUEST['code'];$phone=$_REQUEST['phone'];?> <html><head><title></title></head><body> <?php                    if (isset($_REQUEST['code'])) echo "</br>  <a href=\"request.php\?code&&phone"><img src=\"../images/button1.png\" onmouseover=\"this.src=\'../images/button1-hover.png\'\" onmouseout=\"this.src=\'../images/button1.png\'\"/></a>"; else echo "form"?> </body></html>  

I thought all i have to do is add ?code&&phone to the <a href> tag.. what am i doing wrong Please help. Thank you

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...