Help with ->

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
silver_eclipse0
Forum Newbie
Posts: 1
Joined: Sun Feb 17, 2008 8:22 am

Help with ->

Post 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.
User avatar
markusn00b
Forum Contributor
Posts: 298
Joined: Sat Oct 20, 2007 2:16 pm
Location: York, England

Re: Help with ->

Post by markusn00b »

They're used in classes to call functions, i believe.

Have a look at this
Post Reply