[thelist] MySQL as CMS

Jay Blanchard jay.blanchard at niicommunications.com
Wed Nov 6 07:40:01 CST 2002


[snip]
Are there any faults in this approach that I am not seeing?

This will not be a particularly high traffic site, so I am not concerned
about taxing the data base.
[/snip]

You can read the as yet to be completed series on PHP/MySQL CMS ...
[watch wrap]
http://www.evolt.org/article/The_ABCs_of_CMS/20/24182/index.html?cfid=216451
2&cftoken=25987053
[/wrap]

<tip type="PHP/MySQL">
Need to know the number of rows returned by a query from a MySQL database
when working in PHP? Use mysql_num_rows()

$query = "SELECT foo FROM bar ";
$result = mysql_query($query, $connection);
$rows = mysql_num_rows($result);

</tip>





More information about the thelist mailing list