In [EMAIL PROTECTED], Samuel Ottenhoff wrote:
It is good that you are looking into classes and functions. The
concept you are missing is that of returning a result.
At the end of your function mysql_query, add a line:
return $result;
Then, when you call that function, make it like
I am just getting my head around classes, so forgive me if this is a
schoolboy error!
In order to learn I am re-writing my content management system and am in the
process of writing an HTML.class and a MYSQL.class.
so far so good. I spawn new instances of a table for example, sending
It is good that you are looking into classes and functions. The concept
you are missing is that of returning a result.
At the end of your function mysql_query, add a line:
return $result;
Then, when you call that function, make it like this:
$resultArray =
3 matches
Mail list logo