[PHP] Sorting and foreach of MultiDimensional Array failing

2001-08-23 Thread Montz, James C. (James Tower)
In the following code, I'm reading a variable set of random numbers into a multi-dimensional array. The first iteration runs properly, but when I get to my 2nd+ iteration, I get the following errors; Warning: Wrong datatype in sort() call in /home/usrlinux/WWW/pballs.php on line 18 Warning:

[PHP] Random PowerBall Generator

2001-08-22 Thread Montz, James C. (James Tower)
More as an exercise to get back into the swing of PHP, I have created the PowerBall number generator. (for those of you un-aware, the powerball is at $200 mil). Took me a while to figure out using arrays, and the array_unique function. It also incorporate the imagepng function. Thanks to CC

[PHP] Not allowing same value in array. Example requested

2001-08-21 Thread Montz, James C. (James Tower)
Can someone show me how I could walk through each value (a random number) in an array to make sure no 2 are the same? I'm basically just trying to generate a random number generator. I'm just looking to create 10 numbers, none of which can be duplicates. Thank you in advance! -- PHP General

RE: [PHP] PHP Security

2001-07-18 Thread Montz, James C. (James Tower)
I found a great windows PHP IDE called PHP Coder. Reminds me a bit of ColdFusion Studio. The website is http://www.phpide.de -Original Message- From: Ray Parish [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 5:54 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP Security Hey

RE: [PHP] search for a better php source code viewer

2001-06-28 Thread Montz, James C. (James Tower)
I have been using PHP Coder as I am somewhat familiar with the ColdFusion IDE (CF Studio) http://www.phpide.de/ -Original Message- From: scott [gts] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 4:32 PM To: php Subject: RE: [PHP] search for a better php source code viewer