I am creating a form containing a button link to an external website. The link is pulled from a custom database table on my site. I am using the following code to generate the button:
I am trying to use this code in order to utilize the button classes in my template, to keep them consistent throughout the site.
When the form runs, I can see that the entire URL is being displayed. However, when I actually click on the button, the URL is truncated at the "?" contained in the URL. You can see this happening in the "Upcoming Events" list on this page http://70.39.235.81/~magicbag/.
I have NO idea what I am doing wrong!!
Rick
<form action="<?php
echo $detail['event_url'];
?>">
<input class="uk-button uk-button-primary" type="submit" value="Buy Tix" formtarget="_blank">
</form>
I am trying to use this code in order to utilize the button classes in my template, to keep them consistent throughout the site.
When the form runs, I can see that the entire URL is being displayed. However, when I actually click on the button, the URL is truncated at the "?" contained in the URL. You can see this happening in the "Upcoming Events" list on this page http://70.39.235.81/~magicbag/.
I have NO idea what I am doing wrong!!
Rick