|
|
| Ameen_France 2006-01-27, 3:56 am |
| Can anybody help me by giving some examples for classes in PHP. please
provide me some simple and understandable classes examples.
regards
Ameen
| |
|
|
| Double Echo 2006-01-27, 6:57 pm |
| Ameen_France wrote:
> Can anybody help me by giving some examples for classes in PHP. please
> provide me some simple and understandable classes examples.
> regards
> Ameen
>
http://www.phpclasses.org
| |
|
| They're very simliar to that of C++ really. You use the new keyword to
instanciate a class within an application, and class data is handled the
same way as in C++ (for the most part). If you know OO programming, a google
search should be all you need to write PHP classes (just to get the syntax
down).
"Ameen_France" <ameen.pondy@gmail.com> wrote in message
news:1138340785.566362.284920@g44g2000cwa.googlegroups.com...
> Can anybody help me by giving some examples for classes in PHP. please
> provide me some simple and understandable classes examples.
> regards
> Ameen
>
| |
| s a n j a y 2006-01-27, 9:56 pm |
| Ameen_France wrote:
> Can anybody help me by giving some examples for classes in PHP. please
> provide me some simple and understandable classes examples.
> regards
> Ameen
>
well do you have any experience with OO programming? If you do not you
might wanna pick up a OO book. You can even pick up a java or C++ book
and read the classes and objects chapter. PHP classes are based on these
languages anyway.
Sanjay
|
|
|
|