Drupal Version 6.<br><br>I tried drupal_goto('admin/store/free_subscription', 'status=bye');<div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style><br>
and it still did not work.<br><br>Below is contents of $_GET:<br><i>Array<br>(<br> [q] => admin/store/free_subscription<br>)</i><br><br>John<br><br><div class="gmail_quote">On Thu, Mar 10, 2011 at 12:54 PM, William Smith <span dir="ltr"><<a href="mailto:william.darren@gmail.com">william.darren@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You didn't specify which version of Drupal you are using, but assuming Drupal 6 - drupal_goto expects $query to be a string, not an array.<br>
<br>So: drupal_goto('admin/store/free_subscription', 'status=bye');<br><font color="#888888">
<br>William</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Mar 10, 2011 at 12:46 PM, John Mitchell <span dir="ltr"><<a href="mailto:mitchelljj98@gmail.com" target="_blank">mitchelljj98@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
When calling drupal_goto I can't seem to successfully pass a querystring along with the url.<br><br>below is my call to drupal_goto:<br><i> $query = array();<br> $query['status'] = 'bye';<br> drupal_goto('admin/store/free_subscription',$query);</i><br>
<br>Within the called page I output the contents of the $_GET variable using:<br><i>dd($_GET);</i><br><br>Below is contents of $_GET:<br><i>Array<br>(<br> [q] => admin/store/free_subscription<br>)</i><br><br clear="all">
Note: it has the <i>q </i>parameter but no <i>status </i>parameter.<br><br>Any ideas on what I am doing wrong?<br><br>Thanks,<br><font color="#888888"><br>John<br><div style="display: inline;"></div>
<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>John J. Mitchell<br>