Hi!
I keep seeing this code almost everywhere i look where there is a db involved. Can someone explain what it does?
$result = $db->sql_query($sql);
Thanks!
It performs a SQL query to a database...
i was thinking more about the details like whats -> and how does it work? 🙂 and where is $db declared?
-> is an operator usually used in classes, and db should be declared in the class.