Re: [PHP] File Uploading

2002-01-21 Thread Pedja Delic
Try this: - Original Message - From: "Uma Shankari T." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 21, 2002 3:34 AM Subject: [PHP] File Uploading > > > Hello, > > How to upload files in a particular directory using php script in the > browser itself > >

[PHP] Re: problem with arrays. Please Help!!

2001-09-25 Thread Pedja
function array_search ($needle, $haystack, $strict = FALSE) foreach (array_keys($haystack) as $key) { if ($strict) { if ($haystack[$key] === $needle) return $key; } else { if ($haystack[$key] == $needle) return $key; } } return FALSE; } "Ewunia" <[EMAIL PROTECTED]> wrote in message

[PHP] Re: problem with arrays. Please Help!!

2001-09-25 Thread Pedja
mixed array_search (mixed needle, array haystack, bool strict) Searches haystack for needle and returns the key if it is found in the array, FALSE otherwise. If the third parameter strict is set to TRUE then the array_search() will also check the types of the needle in the haystack. function a

[PHP] Re: mysql_fetch_array() doesn't work

2001-09-25 Thread Pedja
array mysql_fetch_row (resource result) MySql_fetch_array returns an array that corresponds to the fetched row, or FALSE if there are no more rows. So put MySql_fetch_array in FOR loop. Look like this: for ($count = 1; $row = mysql_fetch_row ($query_result_handle); ++$count) { ... } ...the