Public Member Functions | |
__construct () | |
__destruct () | |
showResult ($sSQL, $sUser, $sPassword, $bLog, $bShowAll) | |
formatStatement ($sSQL) |
sqlresult::__construct | ( | ) |
Constructor
sqlresult::__destruct | ( | ) |
Destructor
sqlresult::showResult | ( | $ | sSQL, | |
$ | sUser, | |||
$ | sPassword, | |||
$ | bLog, | |||
$ | bShowAll | |||
) |
Execute SQL statement and prepare the result for output (includes in addition to the result of the statement also the log creation).
$sSQL | SQL statement. | |
$sUser | User ID. | |
$sPassword | Password of the user. | |
$bLog | Set to true if a log should be generated. | |
$bShowAll | Set to true if the result should contain all the data (without concerning the restirction of maximum number of rows in result). |
sqlresult::formatStatement | ( | $ | sSQL | ) |
Formatting SQL statement with GeSHi.
$sSQL | SQL statement. |