Re: [PHP-DB] Re: how to format the output of the text info that user uploaded?

2002-08-18 Thread Daren Cotter
If the method they use to "upload" involves pasting the text into an HTML textbox, I usually do this: replace all occurances of \n with . Look into the ereg_replace() function in the manual or at php.net for more info, but that is some limited formatting. If you need further formatting, like som

[PHP-DB] Multiple Referral Levels

2002-09-25 Thread Daren Cotter
I'm using MySQL to attempt to track multiple referral levels for a web site. I.e., member 1 refers 2, 2 refers 3, 3 refers 4...member 4 is is on member 1's 3rd referral level. Anyway, I need to be able to compile a list of the # of referrals for a specific member on any given level (up to 12 leve