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