thanks for the suggestion of changing to a non existent url I realized that I needed to click the submit button.<br><br>It works fine.<br><br>Thanks,<br><br>John <br><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>
<div class="gmail_quote">On Thu, Mar 10, 2011 at 1:17 PM, Dave Metzler <span dir="ltr"><<a href="mailto:metzler.dl@gmail.com">metzler.dl@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;">
<div bgcolor="#FFFFFF"><div>Actually, not true. <span>Arrays work too. According to the api docs.</span></div><div><br></div><div>Hm... Are you really sure that you are editing the right call? Try changing the url to non existant one and just inspecting the browser url to verify that there isn't something else stripping off the url.<br>
<br>Sent from my iPad</div><div><div></div><div class="h5"><div><br>On Mar 10, 2011, at 9:54 AM, William Smith <<a href="mailto:william.darren@gmail.com" target="_blank">william.darren@gmail.com</a>> wrote:<br><br></div>
<div></div><blockquote type="cite"><div>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>
<br>William<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"></a><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></blockquote></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>John J. Mitchell<br>