You are here: Re: what does this mean ? « PHP Language « IT news, forums, messages
Re: what does this mean ?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация