This is a discussion on what does this mean ? within the alt.comp.lang.php forums, part of the PHP Programming Forums category; 1 $qry = "SELECT name FROM $tbl "; 2 $rs = &$conn->Execute($qry); 3 if($rs->EOF) { ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|