Page 1 of 1

Help with ->

Posted: Sun Feb 17, 2008 8:29 am
by silver_eclipse0
Hello. I am currently working on a project modifying an auction script called ilance and I can't remember what -> means. Every search engine I have tried filters out these character and I was wondering if someone here could please tell me what this means as I am having difficulty understanding the code. The script uses many lines of things like this:

Code: Select all

 
<?php
 
$ilance->GPC['cmd'];
 
$ilance->db->query("SELECT * FROM ".DB_PREFIX."users
        WHERE username IN ('".addslashes(htmlspecialchars_uni($ilance->GPC['username']))."', '".addslashes(htmlspecialchars_uni($unicode_name))."')");
 
?>
 

Thanks.

Re: Help with ->

Posted: Sun Feb 17, 2008 9:23 am
by markusn00b
They're used in classes to call functions, i believe.

Have a look at this