RE: [PHP-DB] Rand() Emulation

2003-06-24 Thread Roedel, Mark
Might it be simpler, since you're assuming the presence of PHP anyway, to just read your entire result set into an array and then shuffle() it and then pick off the top however-many entries? Of course, that won't be very memory-efficient for particularly large data sets... --- Mark Roedel

RE: [PHP-DB] MSSQL/PHP problem

2003-03-31 Thread Roedel, Mark
> -Original Message- > From: Poon, Kelvin (Infomart) [mailto:[EMAIL PROTECTED] > Sent: Monday, March 31, 2003 9:13 AM > To: '[EMAIL PROTECTED]' > Subject: [PHP-DB] MSSQL/PHP problem > > > [snip] > > WHen I retrieve this data from php to display on my webpage I > get this: > > Globe and

RE: [PHP-DB] mysql_fetch_array limit? - more details

2002-07-30 Thread Roedel, Mark A.
> -Original Message- > From: Paul Worthington [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 30, 2002 9:34 AM > To: [EMAIL PROTECTED] > Subject: [PHP-DB] mysql_fetch_array limit? - more details > > > What happens is I'm only getting the first 256 characters of > txtSWDesc1 displayed