navigating to results after insert to defined id url

navigating to results after insert to defined id url

Hi I have an insert page that is inserting a record into a table, the insert page has an id url that is transfered from a specific product when navigating to the insert page, my issue is when I have clicked insert the redirect takes me back the to the general results page which is for all product results what I wanted it to do is redirect me back to the result page for that specific ID url, i've tried to change the redirect code to "Compliment_Results.php?Fabric_ID=<?php echo(rawurlencode($row_WADAtbl_Fabric['Fabric_ID'])); ?>" but I only get a T string error i've tried numberious ways to do it but as of yet no success. Just to recap: Specific product, transfer ID through URL to insert page, insert another product that is related to/linked to specific product, redirect back to results page for specific product.

You could redirect to the results page and have it show the item or related items based on the id. You will first need to have the DataAssist Search server behavior setup on your results page to filter out results based on the id that you are passing in. Once you have it setup like this you will need to link to the results page with the proper id that can be looked up that will also trigger the search server behavior.

Do you have your results page setup to lookup an item or items based on this id already? If not this is the first step. Once you have it setup like this then you can craft the link on the insert page. If you have any further problems or get errors like this please post back with the exact error message you are getting and a copy of the pages in question in a zip archive so that we can take a look.