| | | | |
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| | ||
| Neuer Benutzer Registriert seit: 18.06.2008
Beiträge: 6
![]() | Zitat:
Ja ich hab die Klassendefinition jetzt vor dem session_start() eingebunden. Das mit den wakeup und sleep hab allerdings noch nicht ganz durchblickt, vor allem da serialize bzw unserialize diese implizit aufrufen... | |
| |
| | |
| Moderator Registriert seit: 11.05.2008
Beiträge: 6.268
![]() ![]() ![]() ![]() ![]() ![]() ![]() | Klappts denn jetzt? Du musst serialize() und unserialize() eigentlich garnicht verwenden, das uebernimmt PHP fuer dich. Lazydogs Posting ist allerdings auch nochmal einen Blick wert, du hast eigentlich keinen Vorteil, wenn du das Objekt in der Session ablegst im Vergleich zur Neudeklaration.
__________________ "Nuschel ich?" - "Was?" |
| |
| | |
| Neuer Benutzer Registriert seit: 18.06.2008
Beiträge: 6
![]() | Klappen tuts leider noch nicht - wie gesagt - es müsste klappen, keine Ahnung warum es das nicht tut... zu lazydogs post: Ich speichere das Objekt mit den Verbindungsdaten ab, denn so brauche ich dann an jeder Stelle nur mehr $sql->connect(); aufrufen und erspare mir die Mitgabe der Verbindungsdaten (da diese in den Attributen abgelegt sind und herangezogen werden). Ich glaub schön langsam, ich werd die Klasse rauswerfen und alles händisch mit mysql_connect() und Konsorten machen... |
| |
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Fatal error: Call to a member function on a non-object | atom-dragon | PHP Tipps 2007 | 20 | 02.12.2007 22:22 |
| Call to a member function on a non-object | Riks | PHP Tipps 2007 | 20 | 10.02.2007 22:59 |
| Fatal error: Cannot use object of type FPDF as array in | Alpha Centauri | PHP Tipps 2006 | 5 | 22.03.2006 14:44 |
| Fatal error: Call to undefined function mail() | PHP Tipps 2005-2 | 16 | 04.07.2005 13:24 | |
| Problem Call to a member function on a non-object | PHP Tipps 2005 | 5 | 24.05.2005 19:14 | |
| Call to a member function on a non-object | PHP Tipps 2005 | 12 | 24.05.2005 04:06 | |
| Fatal error: Call to a member function on a non-object | PHP Tipps 2005 | 7 | 13.04.2005 07:24 | |
| update auf php 5.0.4 | robo47 | Server, Hosting und Workstations | 6 | 10.04.2005 19:00 |
| Fatal error: Call to a member function on a non-object | PHP Tipps 2005 | 15 | 04.02.2005 13:02 | |
| Fatal error: Call to undefined function: imagecreatefromjpeg | DannyD | PHP-Fortgeschrittene | 10 | 05.12.2004 21:59 |
| Call to a member function on a non-object --> WARUM ? | PHP Tipps 2004-2 | 4 | 25.11.2004 20:16 | |
| Fatal error: Call to undefined function mysql_connect() | Datenbanken | 4 | 11.11.2004 17:53 | |
| Fatal error: Call to undefined function: sqlite_open()..... | PHP Tipps 2004 | 11 | 01.08.2004 17:44 | |
| Fatal error: Call to undefined function: mail() in... | PHP Tipps 2004 | 5 | 31.07.2004 17:25 | |
| [Erledigt] Fatal error: Call to undefined function:... | PHP Tipps 2004 | 8 | 27.06.2004 12:56 | |
| Besucher kamen über folgende Suchanfragen bei Google auf diese Seite |
| fatal error: call to a member function query() on a non-object in, fatal error: call to a member function query() on a non-object, call to a member function execute() on a non-object, call to a member function execute() on a non-object in, fatal error: call to a member function execute() on a non-object in, fatal error: call to a member function execute() on a non-object, fatal error: call to a member function close() on a non-object in, fatal error call to a member function query on a non-object in, call to a member function close() on a non-object, call to a member function delete() on a non-object, call to a member function close() on a non-object in, fatal error: call to a member function close() on a non-object, fatal error: call to a member function query() on a non-objec, fatal error: call to a member function query() on a non-object i, call to a member function query() on a non-object, call to a member function getorder() on a non-object, call to a member function exec() on a non-object, \fatal error: call to a member function query() on a non-object in\, \call to a member function execute() on a non-object\, call to a member function query() on a non-object in |