Posted by klenwell on 05/07/07 21:06
The -> indicates that the variable in question is an object with
datums representing a property of the object. In this case, that
property will be an array, since that is what mysql_fetch_array (when
successful). See following pages for more info:
http://www.php.net/manual/en/language.oop.php
http://www.php.net/manual/en/function.mysql-fetch-array.php
Tom
davjoh123@yahoo.com wrote:
> if ($result) {
> $rs->datums = mysql_fetch_array ($result, MYSQL_ASSOC);
>
> What does -> do after the recordset variable $rs?
>
> Is datums a field name or something else?
>
> I have a text by Larry Ullman and have searched the web for these 2
> answers with no result.
Navigation:
[Reply to this message]
|