CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Retrieving values

Print topic Send  topic

Author Message
SL
Posted: 06/03/2003, 4:34 AM

Hi there.
I struggle to retrieve information from my forms e.g the value of a textbox. In ASP I used request.form. Is there a similar function in php?
Thanx.
SL
rclayh
Posted: 06/03/2003, 5:21 PM

You can access the information just using $formfieldname in most cases. Also CodeCharge Studio has some specific ways to access the form values which are documented quite well in the help file.

Here is an example from the help that should give you an idea of the syntax

function Registration_OnValidate() {
global $Registration;

if ($Registration->Password->GetValue() != $Registration->Confirm->GetValue()) {
$Registration->Errors->addError("The values of Password and Confirm fields do not match.");
}

}

In this example $Registration->Password->GetValue() refers to the form field Password on the Registration form.

   


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

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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