PHP School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a PHP Expert!

Join 307,015 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 2,074 people online right now. Registration is fast and FREE... Join Now!




Php Classes?

 

Php Classes?

Dannyboy997

4 Nov, 2009 - 06:51 PM
Post #1

D.I.C Head
**

Joined: 17 Apr, 2009
Posts: 77



Thanked: 2 times
My Contributions
hi, i have seen classes on many codes or web applications but i'm not sure why i would use it. what is the function of a class?????


thanks for any replies!!!!

User is offlineProfile CardPM
+Quote Post


CTphpnwb

RE: Php Classes?

4 Nov, 2009 - 07:51 PM
Post #2

D.I.C Lover
Group Icon

Joined: 8 Aug, 2008
Posts: 2,101



Thanked: 155 times
Dream Kudos: 100
Expert In: PHP

My Contributions
The purpose is to organize code so that changes can be made without enormous effort and confusion!

Functions separate parts of code into smaller logical blocks, and as the number of functions increases, it becomes necessary to organize the functions into classes.
User is offlineProfile CardPM
+Quote Post

Dannyboy997

RE: Php Classes?

4 Nov, 2009 - 07:53 PM
Post #3

D.I.C Head
**

Joined: 17 Apr, 2009
Posts: 77



Thanked: 2 times
My Contributions
ok, now i understand thanks a lot!
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 07:37AM

Live PHP Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

PHP Tutorials

Reference Sheets

PHP Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month