The reason why that you get the error is because you didn't call the
class. How I do my sql/class manipulation would be something like this:
class User {
var $dbRecords = array();//array that will hold db records
function User() {
...constructor
}//
}//end class
$sql = "SELECT * FROM user WHERE u
Hi all,
In the ongoing saga of moving the application I've developed from Apache to
IIS, I've found another problem, with objects this time.
I've got a standard file that is included as a header, which includes the
following lines:
[script]
$query = "SELECT * FROM user where username='".$_COOKIE