database

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
madonna
Posts: 5
Joined: 20 Feb 2013, 10:07

database

Post by madonna »

Hello,
I wanted to know what does db_param() in the insert query do.
Thanks
cas
Posts: 1768
Joined: 11 Mar 2006, 16:08
Contact:

Re: database

Post by cas »

/**
* Generate a string to insert a parameter into a database query string
* @return string 'wildcard' matching a paramater in correct ordered format for the current database.
*/
function db_param() {
global $g_db;
global $g_db_param_count;

return $g_db->Param( $g_db_param_count++ );
}
Post Reply