Jump to content

GET conflict!


Isoss

Recommended Posts

I am trying to submit a form with the method "get" in the same page which is: media.php?page=sermonsarchive
Now the form is as following:
[sup]
<FORM ACTION="" METHOD="GET">
  <SELECT NAME="preacher" OnChange="this.form.submit();">

    <OPTION SELECTED > اختر الواعظ
    {foreach item=preachers from=$select_preachers}

    <OPTION VALUE="{$preachers.id_p}" {if $smarty.get.preachers==$preachers.id_p}SELECTED{/if} >{$preachers.preacher}</option>
    {/foreach}

  </SELECT>
</FORM>
[/sup]
When I submit the url will be changed into: media.php?preacher=1
But I still need the page query!
I tried action="?page=sermonsarchive" but didn't work!
I know I can solve this by using post but I don't want to I just need to get GET to work so url would look like: media.php?page=sermonsarvhice&preacher=1

Any help will be appriciated.

Thanks.

Isos
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.