Original Post
i want to do something like this: function GetNextRow($result) { return mysql_fetch_array($result, MYSQL_NUM); } but i get an error from php: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in .... is there a special way to pass a 'resource' to a function?