Quote:
Originally Posted by Boofo
His also had a list where you could choose the note and not a separate box for each one, if I recall. If Chen did it that way, then he had to have a good reason. His code is excellent. 
|
Well, hopefully you do not consider this excellent:
Code:
$DB_site->query_first("SELECT lastupdated FROM usernotepad WHERE userid='$bbuserinfo[userid]'")) {
$note=$DB_site->query_first("SELECT * FROM usernotepad WHERE userid='$bbuserinfo[userid]'");
$splitnotes=explode("|||",$note[notes]);
There is no reason for that whatsoever.
Not to mention he includes global.php numerous times. I have attached the only file I could find left of it (they have been deleted from chens thread).
Of course, this code is about 7 years old, and I know if you looked at mine from that long ago, it would probably not be much better.