I've written a class that reads a database into an array. This works fine,
but when I try to copy the array outside the class using a function that
only does a return $this->$data, I only get one sub-array of the whole one.
Any ideas?
Thanks
Alexander
Code:
class Adressen {
var $connect; //
Hi,
I just tried to write a simple class for opening a MySQL-database with PHP.
The database get's opened, but the handle isn't transfered back. I can then
use the database, but only if I don't specify the handle in mysql_query.
Any ideas?
Code:
db.php:
$connect = mySQL_connect("host","user","p
2 matches
Mail list logo