Hello I'm to trying to make this variable $game_link which is the url from the database a button, but seem not to get it right? I need help on it please. This is the code $game_link.
How can i make $game_link a button
Asked
Active
Viewed 40 times
-2
-
what have u tried ? – Vivek Singh Oct 13 '16 at 08:44
-
1"This is the code $game_link." I don't think that thats its the code.. or at least not everything of it. – Twinfriends Oct 13 '16 at 08:49
-
2Possible duplicate of [How to create an HTML button that acts like a link?](http://stackoverflow.com/questions/2906582/how-to-create-an-html-button-that-acts-like-a-link) – Twinfriends Oct 13 '16 at 08:57
1 Answers
0
Please Try This . I hope It will Work For You . If you are try to write this in PHP . And This is Your Styling . I mean Your Css .
<style type="text/css">
.submit_button {
text-decoration: none; font: menu;
display: inline-block; padding: 2px 8px;
background: ButtonFace; color: ButtonText;
border-style: solid; border-width: 2px;
border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
}
.submit_button:active {
border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
}
</style>
Here Is Your Anchor Tag Code
<a href="<?php echo $game_link ?>" class="submit_button" target="_BLANK"><?php echo $game_link ?></a>
Let Me Know If your problem get solved . Thanks

Coder Me
- 63
- 9
-
-
-
-
Coder don't do it. :) Boy, try it by yourself and post the code you've tried with. We're here to help you and find problems with YOUR code, but not to write code for you. – Twinfriends Oct 13 '16 at 08:55
-
1
-
no problem, you don't have to apologize. I mean, if you want to do that for him, its okay. Its just that he won't learn anything this way... He will copy paste it and everything is fine. 20 minutes later he will post his next question because he's in trouble again and it ends up that you've written his whole application. – Twinfriends Oct 13 '16 at 09:10
-