Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Simon Greener: "A lot of work went in to designing our application database. PHP Generator allowed us to build a fully functional, professional looking, and functionally powerful web application from that database. It has freed us from worrying about low level code, enabling us to focus on the business requirements of the customer. The support provided is excellent with staff quickly producing answers to questions ranging from newbie to simple or complex. I highly recommend the product".
Roger Brown: "Great product. The more I work with it, the more I am amazed at what it can do".

More

Add your opinion

PostgreSQL PHP Generator online Help

Prev Return to chapter overview Next

IsPOSTValueSet

Checks if $_POST contains a parameter named paramName. Returns true if such parameter does exist and false otherwise.

 

Signature:

function IsPOSTValueSet($paramName)

 

The code below checks if a $_POST parameter does exist and, if so, assigns its value to a variable.

 

// check if the parameter custom_var available

if (GetApplication()->IsPOSTValueSet('custom_var'))

    // found

    $params['custom_var'] = GetApplication()->GetPOSTValue('custom_var');

else

    // not found. Assign a default value.   

    $params['custom_var'] = '5 (default)';

 

See also: GetPOSTValue



Prev Return to chapter overview Next