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

Subscribe to our news:
Partners
Testimonials
Tony Broadbent: "Such a great product! I have been struggling to hand craft pages which, with your PHP Generator, I created beautifully within 5 minutes of downloading it".
Kirby Foster: "Nice software. Small, lightweight, works well. I evaluated lots of software before deciding that your software worked the best for what I do. Both Maestro for MySQL and PHP Generator have saved me lots of time".

More

Add your opinion

PHP Generator for MySQL 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