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

Subscribe to our news:
Partners
Testimonials
Gabriela Arsene: "MySQL PHP Generator is really excellent! A very useful, easy to use tool and above all it is free, saving a lot of time and money to a developer! Great job! Congratulations to all the people who work at this project".
Grey: "We're a two-person company, it's just me an my wife. I'm the technical guru, and she handles the business operations. I have to know a lot about MySQL, but that's much too technical for her. I have frequently had to setup CGI scripts (I code in Perl) so she can manage some of our tables (suppliers, manufacturers, etc).

I discovered PHP Generator a couple of days ago, tried the free version,and within a few hours I had purchased the Pro version (as well as SQL Maestro for MySQL).

Today I am completing the conversion of the last of my custom table managers to PHP Generator. This is eliminating several thousand lines of code that I don't have to support any more!

Thanks for this fantastic product".

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