Re: [PHP] OOP in PHP

2007-08-15 Thread Patrik Hasibuan
Dear my friend, Jim Lucas. Thank you very much for your help. You've solved my problem one more time. I really appreciate your help. === On Wed, 15 Aug 2007 14:17:02 -0700 Jim Lucas <[EMAIL PROTECTED]> wrote: > Jim Lucas wrote: > > Patrik Hasibuan wrote: > >> Dear Jim, > >> > >> thanks for your

Re: [PHP] OOP in PHP

2007-08-15 Thread Jim Lucas
Jim Lucas wrote: Patrik Hasibuan wrote: Dear Jim, thanks for your help. I've modified my codes as you adviced. But than the output is: " superclass koneksi dipanggil koneksi berhasil No results found " The column 'country' of table 'countries' already really contents complete all contry name

Re: [PHP] OOP in PHP

2007-08-15 Thread Jim Lucas
Patrik Hasibuan wrote: Dear Jim, thanks for your help. I've modified my codes as you adviced. But than the output is: " superclass koneksi dipanggil koneksi berhasil No results found " The column 'country' of table 'countries' already really contents complete all contry name from all over the

Re: [PHP] OOP in PHP

2007-08-15 Thread Patrik Hasibuan
Dear Jim, thanks for your help. I've modified my codes as you adviced. But than the output is: " superclass koneksi dipanggil koneksi berhasil No results found " The column 'country' of table 'countries' already really contents complete all contry name from all over the earth. How come the query

Re: [PHP] OOP in PHP

2007-08-15 Thread Jim Lucas
Patrik Hasibuan wrote: Dear Jim, You've solved my problem, Jim. Thank you very much. Now, my code give the output as my expectation: " superclass koneksi dipanggil koneksi berhasil negara-> ". But come another problem, namely: the $negara is empty. I tried to read the documentation on " http

Re: [PHP] OOP in PHP

2007-08-15 Thread Patrik Hasibuan
Dear Jim, You've solved my problem, Jim. Thank you very much. Now, my code give the output as my expectation: " superclass koneksi dipanggil koneksi berhasil negara-> ". But come another problem, namely: the $negara is empty. I tried to read the documentation on " http://www.php.net/manual/en/

Re: [PHP] OOP in PHP

2007-08-15 Thread Jim Lucas
A few missing pieces in your code. Take a look below within your class. I corrected it. try also using include_once instead of require and make sure that your error level and reporting are turned on so you can see what is happening. Patrik Hasibuan wrote: Dear my friends, This is the fi

Re: [PHP] OOP in PHP

2007-08-15 Thread Robert . Degen
> Theoritically if Class "koneksi" is being initialized than it > prints "koneksi berhasil (connection succeeded)" but it doesn't. What "does" it? Just nothing? No warnings at all? Possibly disabled? so far rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

Re: [PHP] OOP in PHP

2007-08-15 Thread Nathan Nobbe
what sort of error are you encountering ? -nathan On 8/15/07, Patrik Hasibuan <[EMAIL PROTECTED]> wrote: > > Dear my friends, > > This is the first time for me to use OOP concept of PHP. I wrote still a > very simple codes but it doesn't work as my manual book taught. the book > titled "MySQL/PHP

[PHP] OOP in PHP

2007-08-15 Thread Patrik Hasibuan
Dear my friends, This is the first time for me to use OOP concept of PHP. I wrote still a very simple codes but it doesn't work as my manual book taught. the book titled "MySQL/PHP Database Application" by Jay Greenspan say these lines should work but in fact it don't work as expected. Here is

[PHP] OOP in PHP 5 won't work under IIS 5.1

2004-09-05 Thread Felix Ang
I installed PHP 5 and tried phpinfo(). It worked. But then I tried OOP sample from www.php.net , like: Hello; print "MyClass::printHello() " . $this->Bar; print "MyClass::printHello() " . $this->Foo; } } class MyClass2 extends MyClass {