On 3/31/2015 8:24 AM, Christoph M. Becker wrote:--- Synchronet 3.21d-Linux NewsLink 1.2
bill wrote:
On 3/29/2015 9:47 PM, richard wrote:
$result = $mysqli->query($sql);<<<<<<<<<<< error here
Fatal error: Call to a member function query() on a non-object
Now, your task is to read the introductory chapters about PDO
http://us1.php.net/manual/en/class.pdo.php
Err, why PDO? Apparently, richard is using mysqli, what would be fine.
Whoops, my fingers are faster than my mind.
Yes, mysqli:
http://us1.php.net/manual/en/class.mysqli.php
-bill
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 70 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 02:11:01 |
| Calls: | 949 |
| Calls today: | 1 |
| Files: | 1,325 |
| Messages: | 281,114 |