[thelist] mySQL/PHP class function (maybe another stupid question)
Burhan Khalid
thelist at meidomus.com
Mon Jul 11 10:53:08 CDT 2005
Nan Harbison wrote:
> Hello,
>
> I am still slogging through thousands of lines of code I didn't write try to
> find the bugs in the code that makes the website not function as it is
> supposed to.
> In the database class (which mainly makes it easier to switch the type of DB
> being used), there is the funtion:
>
> function query($query, $file="", $line="", $type=DB_TYPE)
>
> and when this function is called, the call looks like this:
>
> if ($r = $this->db->query($q, __FILE__, __LINE__))
>
> so what the heck are these:
>
> __FILE__
> and
> __LINE__
>
http://www.php.net/manual/en/language.constants.predefined.php
Please do not hijack a thread. Its very :
1. Rude.
2. Wrong.
3. Stupid.
Either you hijacked a thread, or all of a sudden, Thunderbird has gone
bananas and can't sort threads properly.
More information about the thelist
mailing list