Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Form Questions

Form that shows results in previous page


2 Posts   1330 Views


19 July 2009 at 8:21am (Last edited: 19 July 2009 8:22am), Community Member, 1 Post

This is the scenario:

I'm using a form to generate a query to a MySQL database, everything is working fine except that the data is shown in a blank page.
What I want to do is to show the Query Result in the same page where the form is. In this case I can't use Director::redirectBack() because the Sql Result will not be displayed.

Is there any way to solve this?

This is the page structure:

Menu 1: Queries
Menu 2: Common Queries: --> Form

Thanks in advance.-


21 July 2009 at 10:13pm Community Member, 57 Posts


It'll help if you post your current code - preferably via pastie: