|
Web Development & Graphic Design Problem Solving for Graphic Design, PHP, ASP, Perl, MySQL, SQL, XML, HTML issues |
|
Topic Tools |
#1
|
|||
|
|||
class scope
manual
PHP Code:
PHP Code:
edit: I know about this solution PHP Code:
Last edited by FrEaKmAn; March 18th, 2008 at 07:12 PM. |
#2
|
||||
|
||||
If you don't instantiate the class, the constructor won't execute. Your class has make the database connection in the constructor. Even if you got your code to access database::query, it wouldn't work anyway. In fact, depending on what error you're getting, this may be the problem itself.
|
#3
|
|||
|
|||
this works
PHP Code:
|
Bookmarks |
«
Previous Topic
|
Next Topic
»
Topic Tools | |
|
|
Similar Topics | ||||
Topic | Topic Starter | Forum | Replies | Last Post |
Help with security class | jennifer24 | Networking | 0 | July 31st, 2007 09:19 PM |
Night Class | gooner | Jokes Forum | 0 | June 13th, 2007 05:37 PM |
Programming class | ggross | Open Discussion | 3 | May 4th, 2007 01:12 PM |
Remember Bio class? | bAdWaYz | Open Discussion | 3 | July 10th, 2005 02:07 PM |
Battery Scope files missing after KlZ virus infection | Bert Lesley | Windows 98 | 2 | September 25th, 2002 06:05 PM |
All times are GMT +1. The time now is 05:56 AM.