RE: [PHP] in_array problems (another pair of eyes?)

2002-05-22 Thread Johnson, Kirk
Unless you are using PHP version 4.2 or higher, the first argument can't be an array. Kirk -Original Message- From: Jas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 21, 2002 11:46 AM To: [EMAIL PROTECTED] Subject: [PHP] in_array problems (another pair of eyes?) I don't think

[PHP] in_array problems (another pair of eyes?)

2002-05-21 Thread Jas
I don't think I am using the syntax correctly, I have been looking at this function on php.net and everything I have seen says my code should be working. A form allows the user to upload a file: form name=img1 method=post action=upload_done.php enctype=multipart/form-data input type=file

Re: [PHP] in_array problems (another pair of eyes?)

2002-05-21 Thread Jason Wong
On Wednesday 22 May 2002 01:45, Jas wrote: I don't think I am using the syntax correctly, I have been looking at this function on php.net and everything I have seen says my code should be working. What version of php are you using? In PHP versions before 4.2.0 needle was not allowed to be an