Posted by Triar on 01/09/07 05:20
1. $conn->Execute($qry): $conn is an object and Execute() is a method of
it. ( http://nl2.php.net/manual/nl/ref.classobj.php )
2. &$conn->...: a reference to $conn is made
(http://nl2.php.net/manual/en/language.references.php)
RTFM : )
Triar
comatose wrote:
>
> 1 $qry = "SELECT name FROM $tbl ";
> 2 $rs = &$conn->Execute($qry);
> 3 if($rs->EOF) {
>
> I seen this in a program and in line 2 i wanted to know what the "&" before $conn means
> and in the same line what "->" means and what it does?
>
> thanks
Navigation:
[Reply to this message]
|