--- Jason Barnett <[EMAIL PROTECTED]> wrote:
> No offense intended, but I'm not going to read
> through all of that.  Narrow down 
> the code block that gives you problems and then post
> that one block here... not 
> the entire class.
> 

Hey Jason,
No offense at all taken, am happy you read part of my
help-email.
Problem is, like I said, I dont have a clue about the
workings of a class and all the pointing like this

$this-> blah

gets me totally confused so I really dont know which
part IS the problem part.
Anybody knowing of a good class tutorial...would be
appreciated.

I tried to figure it out by myself looking at the
code, but I guess I have to learn about classes (have
not come to that yet) before I know where the problem
is, but having a look for the newline part I think
this is the problem part:

$preserve = md5(" \n\r");
                                $elaborate = preg_replace("/( )([\\n\\r]+){1}(
)/", $preserve, $elaborate);
                                $elaborate = preg_replace("/( )([\\n\\r^ ]+){1}/",
$preserve, $elaborate);
                                $elaborate .= "*/";




I know the class looks massive but if you copy and
paste it into a editor that colors PHP code (I use
editplus), you will see that a s***load of it is
comments on how to use the class and layouts,css,
initialization etc (even I could understand that so
I'm guessing it has to pretty simple), then comes the
preg_replace and eregi which confuses the crap out of
me.

Thanks,
-Mag







=====
------
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile, everyone loves a moron. :-)


                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to