How do you create a "back to search results" link in PHP MySQL

Can someone just explain the basic principle behind this one:
I have a search facility which reveals a search results page - a  list of products. After clicking on a product you then go on to another menu of product images which you may (or may not) trawl through. At present when a user is finished they have to click the back button until they get back to the search results (which could be ten clicks or more).
I would like to create a link on the product detail page and product images page that simply allowed the user to "Go back to search results".
So how do I capture the search results url+ parameters to allow me to do that?
Can anyone give me a pointer or two?
Cheers
Dave

Okay, I'm pretty sure I can figure that one out. But before I get stuck in this question springs to mind.
I may be being a bit daft here but at present the search form is set up to deal with the $_POST variables from the form on that page when they are submitted.If I send users back to that page armed with the session variables (which now have the same values as the original $_POST variables how can I get the page to automatically use the session variables instead of the $_POST variables it is waiting for?
Dave

Similar Messages

  • How do you make items on the search result list a different colour after viewing as Explorer does.

    How do you make items on the search result list a different colour after viewing as Internet explorer does?

    Hi and welcome -
    Start with fixing this missing semicolon  (in red)
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
              background-color:#1A1A1A;
              background-repeat: no-repeat;
              background-position: 95% 50%;
    You will find you will get faster, more accurate help from us if you upload your test page and any dependent files to your server and post a link here.  That way we can examine ALL your code

  • I have a WD 2 tb hard drive that I want to use to back up my Mac Pro quad core.  How do I create a back up startup disk?  Also, when I used Time macine, it only backed up users and not the system or library folders.  Ideas?

    I have a WD 2 tb hard drive that I want to use to back up my Mac Pro quad core.  How do I create a back up startup disk?  Also, when I used Time macine, it only backed up users and not the system or library folders.  Ideas?

    Welcome to Apple Support Communities
    Time Machine should be enough to make a backup of your files. Also, it should back up all folders, so open System Preferences > Time Machine > Options, and make sure that there are no folders included in the excluded items list.
    If you want to create a bootable clone of your hard drive, you need to use an app like Carbon Copy Cloner or the Disk Utility's Restore feature > http://pondini.org/OSX/DU7.html

  • I just bought the iPad Air and wanted to download an app and when I dismissed the page that came up that was offering free apps for the Air I pressed not now, how do you get that back?

    I just bought the Apple iPad Air yesterday and I wanted to download a certain app from the app store.  When it first opened it had a page come up over the apps with free apps that you could download to the iPad. I clicked on the not now button, thinking it would reappear after closing and re-opening the app store, but it did not. How do you get this back so that I can have the opportunity of checking the apps out?
    Thank you for any assistance that there may be for this.

    After activating your iPad, go to the App Store and search for your free apps:
    1. Pages
    2. Numbers
    3. Keynote
    4. iPhoto
    5. iMovie
    6. GarageBand
    If apps are still showing the price: sign out>reboot>and sign in again
    Settings>iTunes and App Store>Apple ID

  • How do you create folders in photo's

    In an IPOD4 (or IPhone for that matter) how do you create folders within Photo's to segregate your pictures in to meanigfull collections, rather than just random bunches.
    Thanks

    Bummer - seems like wasted effort - to move all the photo's to a computer, delete then from the IPOD/IPHONE,  organize them, and then move back to IPOD/IPHONE. Oh well, is what it is.
    Thanks
    Mike

  • How do you create a flash in game popup on the same frame?

    How do you create a flash in game popup on the same frame?
    I need to make a popup in flash on the same frame. Basiclly like you reach the frame and randomly (I know how to do random stuff) a popup might appear saying like you got a prize; and I want the stuff in the back to stay the same.
    Please help me!
    Thankx in advance.

    Whatever frame you intend to make this movieclip appear in, you first set it to be invisible using...
    popupName._visible = false; // popupName is whatever instance name you use
    And for whatever random code you use to trigger it to appear you just set the _visible property to be true...
    popupName._visible = true;

  • How do you create a save as default folder for MP3 files used Captivate text to audio voices files?

    How do you create a save as default folder for MP3 files used Captivate text to audio voices files?

    Hi Ed
    Thank you for contacting me, however I already know how to save text to
    audio files via timeline using the Export feature.
    So my question was not entirely clear and I apologize for that.  To explain
    further, whenever I save a text to audio file, captivate takes me to a
    default save as folder where I then have browse back to my production
    folder where I am keeping all my Txt to Aud files.  This is very tedious
    process when you have alot of files to save.  So my question was is there a
    way to configure captivate so I can make my production folder the default
    file for whenever I save a Txt to Audio file through Export feature that
    the system automatically takes me to that production folder, and I am
    spared the long tedious process of saving the file manually to the
    prodcution folder I want.
    I have copy the pathway to the production folder in the URL filed in the
    Save As dialoge box and that workaround as cut the work down but I still
    have to paste that URL field to point the file to the right folder. So it
    would be nice if I could do everything automatically.  Microsoft makes this
    capability in their MS Office applications, so I was thinking Adobe might
    do the same thing.  Your help with this would be appreicated,
    Thanks
    Merrill Roberts
    Sr. Training Specialist
    SunGard Availability Services
    Direct 925-831-7730
    Mobile:415-215-9280

  • All my icons are enlarged, how do you get them back to the regular size so you can see them all and you have the slide bar to get into it?

    all my icons are enlarged, how do you get them back to the regular size so you can see them all and you have the slide bar to get into it?

    This is asked and answered often.  The forum search bar is on the right side of this page.
    It is also covered in the manual - zoom feature.
    iPod touch User Guide (For iOS 4.3 Software)
    Double tap with three fingers

  • How Do You Create a POP 3 Email Account On Yosemite 10.10.1?

    Hello There..
    The title says it all.  " How Do You Create a POP 3 Email Account On Yosemite 10.10.1?"
    When I go to set up a new E-mail account, I don't seem to have an option to create a POP 3 account, it just defers to an IMAP account..
    Is there anyway in Yosemite to override this??
    When a Time Warner employee signed onto my computer remotely he created a IMAP E-mail account and in the process all the E-mail stored within "Mail" seem to be gone..
    The POP account on my older G4 seem to still be working fine, so I was wondering if I still had this option with Yosemite. (Mac OS 10.10.1)
    I spent a good part of last evening trying to get things back to normal to no avail..
    Thank You for your time..
    Eric

    Thank You Barney-15E,
    It worked perfectly, now I just have to hope that my Time Warner account works properly with it.  (It does on my good old G4)
    Thanks Again,
    Eric

  • How do you create a new album in photos?

    How do you create a new album in photos?

    Copied from the iPad User Guide Book which is available as a free download in iBooks.
    Organizing photos and videos
    You can create, rename, and delete albums on iPad to help you organize your photos and videos.
    Create an album:  When viewing albums, tap Edit, then tap Add. Select photos to add to the new album, then tap Done.
    Note:  Albums created on iPad aren’t synced back to your computer.
    Rename an album
    Tap Edit, then select an album.
    Rearrange albums
    Tap Edit, then drag  up or down.
    Delete an album
    Tap Edit, then tap .
    Made an assumption without reading the post carefully - and then saw that your profile indicates that you are still running iOS 4.3.3. File this info for later use!
    Message was edited by: Demo

  • How do you create a scrolling banner in Dreamweaver CS4?

    How do you create a scrolling banner/marquee in DreamWeaver 4?  I can't find anything about scrolling banners in the documentation or in the several books I've searched.  Thanks.

    Dreameaver can't create something like that out of the box, you need to use some type of script for the 'scrolling' to work.
    This is pretty good, with lots of variations:
    http://sorgalla.com/jcarousel/
    You may find something listed here that may give you an idea:
    http://www.1stwebdesigner.com/resources/57-free-image-gallery-slideshow-and-ligh tbox-solutions/
    or go over to www.jquery.com  (that's one of the popular frameworks being used at the moment for image slidehows/banners/galleries etc).
    Nadia
    Adobe® Community Expert : Dreamweaver
    http://www.perrelink.com.au
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    http://csstemplates.com.au/
    http://twitter.com/nadiap

  • How do you create PopUp Layer Window?

    Hi!
    I have a question...
    How do you create PopUp Layer Window?
    PopUp Layer Window is a popup window that moves as an user
    scrolls up and down.
    And it cannot be blocked by popup bloacker.
    Please teach me!
    -p.b.p.

    Search the web for persistent layers.

  • How do you create Inspection Characteristics?

    Hello there,
    I had a question.. How do you create Master inspection characeteristics?
    Is there a specific Tcode for this?
    Are any other assignments needed for this?
    Any help would be highly appreciated.
    Sincerely,
    Aji Kurian Mani

    Hi,
    You can create Master Inspection Characteristics ( MIC ) with T-code QS21 or use this path
    SAP Menu-LogisticsQuality ManagementQuality PlanningBasic DataInspection Characteristics--Create(QS21)
    1.Goto T-code QS21
    2.Enter Plant & desired code for MIC,then Enter.
    3. Here tick for Quantitative Characteristic or Qualitative Characteristic.
    4.Maintain control Indicator,catalog,Inspection method,Status,short text,search field.
    Then Assign MIC in inspection plan.
    Regards.
    Raja.

  • How do you create a 2-d array%3F

    How do you create and write a 2-d array??  I have two operations in the same WHILE loop.  Each execution of the loop should generate a new  pair of values.  
    However, the BUILD ARRAY function only outputs a 1-d array to the WRITE TO SPREADSHEET FILE.vi. 
    Perhaps, more broadly, how does one put data into a 2-d array as it is collected?  I think I am building two arrays simultaneously below, but, what I really want is to build a single 2-d array.  Is this how you would do it?  It looks clumsy connecting sequential BUILD ARRAY's together.  Is this creating a 2-d array that I can search later by index and return the paired data? 
    Lastly, why does my front panel indicator only show data in the first column??  How do I make it display the data as it is collected across the rows?
    Thanks,
    Dave
    Solved!
    Go to Solution.
    Attachments:
    forum dec 12_2012 build 2d array.vi ‏13 KB

    dav2010 wrote:
    Sorry, very simple minded here...how do pairs go as a 1-d array?  I thought that (x,y) data must be a 2-d array...a column of "x's" and a column of "y's"?  Wouldn't a 1-d array just be all x's?  I admit I'm pretty new to understanding arrays.
    " build your 1D array from both scalars"  -->  how do you do this??  I cannot find a "convert to scalar" on the pallette.
    Also, here is the vi saved down to 2009, I think.
    Dave
    Here's a simpler way, just write out your X and Y as a 1D array each iteration. The Write will append your data as a column of X's and a column of Y's:
    or generate all your values and then write once:
    (fix the broken wire).
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx

  • How do you create a seach box in MUSE?

    how do you create a seach box in MUSE? - viewer enters a keyword and will be lead to correct product

    Hi there - For questions about individual programs, you're better off posting in their specific forums. Here's the Muse forum: http://forums.adobe.com/community/muse/general_questions_about_adobe_muse
    That being said, there is currently not a search bar widget that can be added to a site directly from within Muse. However, you can add custom HTML code to your page, with a method such as this: http://www.ehow.com/how_6772398_embed-google-search-bar.html. Just add the custom HTML to your Muse page by going to Object > Insert HTML.
    This page might also help you out: http://www.adobe.com/products/muse/embedded-html.edu.html
    Good luck!

Maybe you are looking for