On Monday 24 March 2003 12:09, [EMAIL PROTECTED] wrote:
> When I execute this function:
>
> function getTitles()
> {
>
> $this -> openConnection();
>
> $title_query = "select name from categories";
> $title_result = mysql_query($title_query);
>
> echo "here is title_result: ".mysql_affected_rows();
When I execute this function:
function getTitles()
{
$this -> openConnection();
$title_query = "select name from categories";
$title_result = mysql_query($title_query);
echo "here is title_result: ".mysql_affected_rows();
$i = 0;
while ($titles = mysql_fetch_array($title_result, MYSQL_ASSOC)){