Ok, I started a new topic because it is a diffrent problem.
When I run the function, it returns the rows brought back by the select statement, now the doc says it will only return if you use UPDATE, DELETE, or INSERT
here is the code
require ('config.inc.php');
$uconn = mysql_connect($dbserver,$usname,$passw) or die("Could not connect to the database");
mysql_select_db($db) or die("Could not select the database $db");
$result = mysql_query($sql,$uconn);
$rows = mysql_affected_rows();
$return_val = array('sql'=>$result,'changes'=>$rows);
mysql_close($uconn);
return $return_val;
now I have tried a statement that brings back one row, and one that brings back 2, and it still displays the number of rows returnd by the select
any thoughts