Hello,
I wanted to know what does db_param() in the insert query do.
Thanks
database
Moderators: Developer, Contributor
Re: database
/**
* 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++ );
}
* 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++ );
}