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


Reply


2 Posts   1348 Views

Avatar
modernclics

Community Member, 1 Post

19 July 2009 at 8:21am

Edited: 19/07/2009 8:22am

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.-

Avatar
joshy

Community Member, 57 Posts

21 July 2009 at 10:13pm

Hiya,

It'll help if you post your current code - preferably via pastie: http://pastie.org/

Cheers