<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Oct 9, 2006, at 10:46 AM, Dominique Faure wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">On 10/9/06, Crisses &lt;<A href="mailto:crisses@kinhost.org">crisses@kinhost.org</A>&gt; wrote:</FONT></P> <BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 10.0px; font: 12.0px Comic Sans MS; min-height: 16.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">On Oct 9, 2006, at 9:45 AM, Crisses wrote:</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px; font: 12.0px Comic Sans MS; min-height: 16.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">&gt;</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">&gt; class Shoelaces {</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">&gt; <SPAN class="Apple-converted-space">      </SPAN>$tied = false;</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">&gt; <SPAN class="Apple-converted-space">      </SPAN>$double = false;</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">&gt; ...</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">&gt; }</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px; font: 12.0px Comic Sans MS; min-height: 16.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px; font: 12.0px Comic Sans MS; min-height: 16.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">My syntax bad</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px; font: 12.0px Comic Sans MS; min-height: 16.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">var $tied = false;</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">var $double = false;</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px; font: 12.0px Comic Sans MS; min-height: 16.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">Crisses</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px; font: 12.0px Comic Sans MS; min-height: 16.0px"><BR></P> </BLOCKQUOTE><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Comic Sans MS; min-height: 16.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">Here's some references which could be useful (everybody needs to learn</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Comic Sans MS" size="3" style="font: 12.0px Comic Sans MS">how to walk before trying to run):</FONT></P> </BLOCKQUOTE></DIV><BR><DIV>But if you don't tie your ($walkingshoelaces = new Shoelaces;) first you might trip :)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>And given that Caveman has gotten past PHP's first couple of levels (he's written something, and it does what he wants to.  That's far better than most beginners)   I figured the "here's something about Classes" might be appropriate.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If it doesn't make sense to him, he can skip it and use functions.  Once I understood classes to some degree I saw a lot of ways to organize code more tidily.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Crisses</DIV></BODY></HTML>