Add offset to URL

Hi all,
I have a search results page in php that contains a form.
The results page has pagination and I'm currently trying to add the currect URL to each page number.
The form passes a couple of parameters to the URL and a checkbox array.
For example, say the form asked for your age and to choose each console you own, the returned URL might be
http://www.mysite.com/results.php?age=25&console[]=ps2&console[]=ps3&console[]=360I now need to find a way to construct a new URL with the offset on the end. I also need to factor in the offset might also be entered, so to only add it if it isn't there.
Is anyone able to help?
I've totally hit a brick wall on this :(
Edited by: user12189367 on 08-Feb-2010 12:23
Edited by: user12189367 on 08-Feb-2010 12:24

Hi,
if you have the parameters in the $_GET array, which you most probably do, you can just do this:
$myget = $_GET;
$myget['offset'] = (insert your offset here);
$newurl = 'http://www.mysite.com/results.php?' . http_build_query($myget);
Also, being that this is an Oracle/PHP forum, you might have better luck asking these kinds of questions in some generic PHP forum, as your question has not much to do with Oracle itself.
Hope this helps,
Michal

Similar Messages

  • How do I add a second URL to the same contact

    How do I add a second URL to the same contact.  There are 3 URL for this one company  depending on which division I need to look at.  I could 3 contacts but having the 3 URLs on one contact is easier for me

    Tap the "Edit" button in the upper right corner of the contact's screen. Tap the green "+" (which says add URL) next to it) below whatever URL you currently have entered.

  • How to add a new url link in a view of an existing webdynpro component?

    How to add a new url link in a view of an existing webdynpro component?

    hi ,
    refer SAP online hep :
    Implementing Enhancements in a View
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/46/233f2189f74f08e10000000a114a6b/frameset.htm
    To enhance the layout of the view, you can create new UI elements. This procedure is no different u2013 from a technical viewpoint u2013 from creating UI elements in components themselves. All UI elements created within the enhancement implementation can then be processed as usual.
    Enhancements  means inserting user developments into SAP development objects at predefined positions.
    The Enhancement Framework enables you to add functionality to standard SAP software without actually changing the original repository objects, and to organize these enhancements as effectively as possible.
    refernce :
    have a look at this article
    How to Create Enhancement Implementation in Web Dynpro ABAP
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81&overridelayout=true
    as pointed correctly by Saurav in earlier thread
    regards,
    amit

  • How to add an outside url link to a navagation button in Dreamweaver Cs5.5

    How or can I add an outside url link to a navagation button in Dreamweaver Cs5.5. If I try the properties/link it says that the link is an html and not a css.....
    Thank you

    Linking is done in HTML, not CSS (with the exception of a link to a background picture)
    So, if your navigation is a list, you'd have the following in your HTML:
    <nav>
         <ul>
              <li><a href="index.html">Home</a></li>
              <li><a href="about.html">About</a></li>
              <li><a href="books.html">Books</a></li>
              <li><a href="http://www.myexternalwebsitelink.com/inboundfromotherwebsite.html">External Link</a></li>
              <li><a href="contact.php">Contact</a></li>
            </ul>
    </nav>
    Here, in the example above, I'm using the HTML5 <nav>, but that could be an HTML4 <div class="nav"> and you will see a link to an internal page on the same website server for Home, About, Books and Contact with "External Link" pointing to another website external to the one we're on.
    Make sense?

  • I downloaded Safari 5.1 onto Mac OS 10.6.8 some time ago.  Yesterday the back/forward arrows next to the url window changed to a  , which adds the current url as a bookmark.  I want the arrows back.  What happened, and how can I fix this?  Thanks.  kammro

    I downloaded Safari 5.1 onto Mac OS 10.6.8 some time ago.  Yesterday the back/forward arrows next to the url window changed to a +, which adds the current url as a bookmark.  I want the arrows back.  What happened, and how can I fix this?  Thanks.  kammro

    There's another way.
    Right or control click the + then click Remove Item.
    Just remembered that keyboard shortcut!
    You're welcome 

  • HT1677 In safari browser cookies is working fine. But when I add the browser url to the screen then the cookies concept is not working. In safari setting cookies is always open only. Can you please provide any information regarding to this?

    In safari browser cookies is working fine. But when I add the browser url to the screen then the cookies concept is not working. In safari setting cookies is always open only. Can you please provide any information regarding to this?

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings and disables most add-ons (extensions and themes).
    ''(If you're using an added theme, switch to the Default theme.)''
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu by clicking on the '''Restart with Add-ons Disabled...''' menu item:<br>
    [[Image:FirefoxSafeMode|width=520]]<br><br>
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.
    Thank you.

  • How can I add a simple URL to Streamwork?

    Hi,
    I want to add a simple URL to a StreamWork activity. I do not care whether this is in a text or a collection etc. All I would like to see is that the URL is displayed as such (i.e. blue, underlined) and a user can navigate to the URL with a simple cklick. Even in WORD you can do this and the URL is converted to an active link automatically, but I didn't find a way to do this in Streamwork.
    So far, I add the URL into a text and then the user has to edit the text, mark the URL and then copy/paste it into a browser. In a lot of cases, the URL was deleted by accident or changed etc.
    Thanks
    Oliver
    Edited by: Oliver Nuernberg on Jan 28, 2011 10:03 AM

    Maybe there is a misunderstanding here -- Rob is probably thinking of the Status Updates.
    However, when you edit a Text item you will find a Hyperlink option in the tool bar at the top of the Item. So this is possible, Oliver, but you may not have seen this option.
    Thanks,
    Pete

  • Can I add my iCal url address for TripIt onto the internet iCal?  I have it on my Mac and iPhone iCal already.

    Can I add my iCal url address for TripIt onto the internet iCal?  I have it on my Mac and iPhone iCal already.

    Oscar,
    Have you followed the steps outlined in: Sync Online or Mobile Calendar with Travel Dates - TripIt?

  • Hi, is this the right product for enabling flash contents? I need support for my Harvard e-learnings pls.  After downloading Presenter, I get an error message 'Not a valid presenter' when I add the Harvard url.  Need help.

    Hi
    Is there anothe product for enabling flash content.

    Pallavi,
    Adobe Presenter is a plug-in application to MS PowerPoint that allows you to add video, audio, Flash and quiz content in to a presentation and then author it out as a Flash based presentation that can the be delivered to others via the web. You are asking about enabling Flash content. In what browser/application are you needing to enable Flash Content?
    The 'Not a valid presenter' message is most likely due to you not have the rights to author content to Harvard's e-learning system, but without knowing if the URL is for a Connect account or some other e-learning platform, it's hard to give any useful insight.

  • How to add a link/url to the the task assignment email body?

    Hi,
    I'm currently creating a SharePoint 2013 workflow by using visual studio 2013.
    in the workflow I assign tasks to multiple users by making use of the CompositeTask workflow activity.
    I would like to add a ling to the task form in the body of the assignment email. 
    When using the SingleTask workflow, the output of the activity provides a task item ID which can be used when construction a link/url to the task edit form, but there is no such output.
    How can I add a link to the task form in the body of the email?
    Thanks in advance

    Found this link just after I posted my question:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.workflowservices.activities.taskemailtokens_fields.aspx
    It has a bunch of tokens you can use inside the body of the emails

  • How to add another secure url in web.xml?

    hello i want to secure my web application i have two kind of users i have users and admin.each of them has each certificat users have permission to enter /users and admin have permission to enter /admins/ but i want also users to enter another folder which is /otheruserplace how can i add this in my web.xml file here is my code
    http://pastebin.com/m3e13d3d9

    Just add another url-pattern.
    This has nothing to do with JSF however. More suitable place would have been the Servlets forum.

  • How to add a clickable url

    Hi All,
    Could someone please help me on how to add a clickable external link to a 'mixed char' field on a PeopleSoft page?
    The link should be able to be entered in an instruction field on a page(by a super user) and then the same page should display that url as a clickable link for the end user. (I mean the url is not already embedded in the page for it to get displayed - which I know should be done on the field level setup in application designer)
    I tried the html version with TEXT and the simple version of the url http://www.sitename but it shows up on the end page as a simple text and not as a web link.
    Thanks!

    Hello Hakan Biroglu,
    Thanks a lot for your prompt reply! :)
    I tried your suggestion, now the instruction field identifies the link but it is still not 'clickable' on the end user page, it shows up as a html text.
    example:
    If I type
    Please answer the following question: http : // www. benefitoptions. az. gov
    It shows up on the end user page as plain text:
    "<"p> Please answer the following question:" "<"br" />" "<"a " "href"="http: //www. benefitoptions. az .gov">http :// www. benefitoptions. az. gov "<"/a">"</p">"
    Could you please let me know how I can have this displayed as a clickable link? (I have added lots of " " for this page to show how it actually looks)
    Thanks,
    Priyamvadha
    Edited by: Priyamvadha on Sep 10, 2012 11:46 AM

  • How to add EXPAND in url

    Hi All,
    I need your help:
    I have a url as below to execute a query with a material filter, but somehow the web report does not expanded fully.  So I want to add EXPAND cmd in this url string to forece it expand fully, but I don't know where to add and how to add Can soneone helps me?
    http://pw1host.global.bdx.com:8164/sap/bw/bex?sap-language=20&CMD=LDOC&infocube=ZMDOOI019&query=ZM00_MM_DETAILS_FOSMOSIS&FILTER_IOBJNM_1=ZMDOOI019___F00001&FILTER_VALUE_1=000000000047130510&ZMDOOI019___F00001

    Thanks in advance.
    Jin Freda

  • Firefox Profile - How To add Twitter & Facebook URLs?

    Just created my Firefox profile, added the bio and web pages with no problem. Cannot add the Twitter or Facebook URLs even though I tried everything that made sense.
    What format do you want people to use to add their Twitter and Facebook URLs on the Firefox profiles?
    http://Twitter.com/MicheleHappy1 didn't work
    @MicheleHappy1 didn't work
    Twitter.com/MicheleHappy1 didn't work
    Same thing for Facebook! What format do you want or is this part of the Firefox profile system simply FUBAR?

    apologies I should have put that in at the beginning. I edited the photo - clicked create - then cover photo. When in position I added text to the image, then realising that I needed to logos for the text to make sense. Currently stuck on photo editor unaware of how to add the logos separately. They are 3 separate photos of the logo's from google, saved as jpegs and png's and I need them to appear on the cover photo.
    Many Thanks

  • How to add skype group url / link

    Hi everyone,  I am having trouble with my skype group. A couple weeks ago I actually figured out how to create a url (join.skype.com/....) for my skype group.  Now, I have tried to create a new one and all I get is " skype:?chat&...... " which of course is not something I can share on a website / with friends through social media.  So my question is how can I create another join.skype.com/ link for my group. Is there anyway to create a skype button for my website, not to add my user but to join the skype group? And also I have been having issues when I do /set options +...... or even /set password , nothing works.  Thanks in advanced!!

    hi ,
    refer SAP online hep :
    Implementing Enhancements in a View
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/46/233f2189f74f08e10000000a114a6b/frameset.htm
    To enhance the layout of the view, you can create new UI elements. This procedure is no different u2013 from a technical viewpoint u2013 from creating UI elements in components themselves. All UI elements created within the enhancement implementation can then be processed as usual.
    Enhancements  means inserting user developments into SAP development objects at predefined positions.
    The Enhancement Framework enables you to add functionality to standard SAP software without actually changing the original repository objects, and to organize these enhancements as effectively as possible.
    refernce :
    have a look at this article
    How to Create Enhancement Implementation in Web Dynpro ABAP
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81&overridelayout=true
    as pointed correctly by Saurav in earlier thread
    regards,
    amit

Maybe you are looking for

  • How do i change my message settings so that when i get a text message only the phone number shows up - not the message?

    how do i change my message settings so that when i get a text message only the phone number shows up - not the message?

  • Multi-room DVR 30 second skip stops working

    When I watch DVR'd shows on my non-DVR box, the 30 second skip stops working in the middle of shows.  This does not happen on the DVR box itself.  Verizon has already sent a replacement box and same problem.  When it happens, the display looks like t

  • EA2 export data disappears after error

    The export data menu item in the result set context menu disappears after you created an error. E.g. after sending the following statement: select dummy|| dummy|| dummy|| dummy|| dummy|| dummy from dual; The call of "export data" raises an error mess

  • RFQ Message Error

    HI I recv the below error when i select a particluar RFQ msg line and i selected the processing log button.... How to resolve this No processing log exists Message no. VN052 Diagnosis A processing log could not be found for the selected output. Proce

  • After Effects crashes when rendering to H264

    Hi, On one of my computers, After Effects Crashes when rendering to H264. It always chrashes when doing the last frame of a clip. I think its when muxxing the m4a and the m4v together... Does anyone have a solution? maybe there is some odd codec tras