Skip to content

Commit dcede6a

Browse files
committed
Update class.MySQL.php
Assume that some fields needs to be public
1 parent 9ae008a commit dcede6a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

class.MySQL.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
class MySQL {
2424

2525
// Base variables
26-
private $lastError; // Holds the last error
27-
private $lastQuery; // Holds the last query
28-
private $result; // Holds the MySQL query result
29-
private $records; // Holds the total number of records returned
30-
private $affected; // Holds the total number of records affected
31-
private $rawResults; // Holds raw 'arrayed' results
32-
private $arrayedResult; // Holds an array of the result
26+
public $lastError; // Holds the last error
27+
public $lastQuery; // Holds the last query
28+
public $result; // Holds the MySQL query result
29+
public $records; // Holds the total number of records returned
30+
public $affected; // Holds the total number of records affected
31+
public $rawResults; // Holds raw 'arrayed' results
32+
public $arrayedResult; // Holds an array of the result
3333

3434
private $hostname; // MySQL Hostname
3535
private $username; // MySQL Username

0 commit comments

Comments
 (0)