CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Viewing Results from CCS Form

Print topic Send  topic

Author Message
Graham Pearson
Posted: 06/25/2005, 6:58 AM

I have created a php Form within CCS and on the receiving page I have
the following code
  
<?php var_dump($_POST, $_GET); ?>  
And after codecharge enters the record into the database my result on
the receiving page is:

array(0) {} array(0) {}
If I manually create the form with some fields and submit the form, I
get the array displayed on the screen.

What am I missing?
peterr


Posts: 5971
Posted: 06/25/2005, 12:15 PM

CCS applications submit forms to the current page, not the next page, thus all POST parameters are submited and processed on the same page as you created, then the page is redirected to the next page, therefore cannot have any POST values.
Of course you can modify the HTML so that your form is submitted directly to any page that you want, but then the form values will not be validated or processed automatically since your 2nd page doesn't know how to validate or process those values.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.