07-14-2008, 03:32 PM
|
#14 (permalink)
|
|
The Acquainted
Join Date: Sep 2007
Location: Leeds, UK
Posts: 141
Thanks: 6
|
Sorry for the double post!
Is it good coding to put the MySQL connection inside the __construct function?
Also I tried doing:
PHP Code:
public function __destruct() { mysqli_close(); }
But I got errors :\
__________________
Not quite a n00b...
|
|
|
|