mSQL Functions
mSQL
&reftitle.intro;
These functions allow you to access mSQL database servers. More
information about mSQL can be found at
&url.msql;.
&reference.msql.configure;
&reference.msql.ini;
&reftitle.resources;
There are two resource types used in the mSQL module. The first one
is the link identifier for a database connection, the second a resource
which holds the result of a query.
&reference.msql.constants;
&reftitle.examples;
This simple example shows how to connect, execute a query, print
resulting rows and disconnect from a mSQL database.
mSQL usage example
\n";
while ($row = msql_fetch_array($result, MSQL_ASSOC)) {
echo "\t\n";
foreach ($row as $col_value) {
echo "\t\t$col_value | \n";
}
echo "\t
\n";
}
echo "\n";
/* Free result set */
msql_free_result($result);
/* Close connection */
msql_close($link);
?>
]]>
&reference.msql.functions;