[PHP] array_unique wierdness

2003-04-05 Thread Greg Robillard
I would like to remove duplicate array values, and I presume that array_unique should do this, but the results are not what I am expecting Anyone see this before: $dayarray=(9,22,22); $duparray = array_unique($dayarray); $darray = count($duparray); for($d=0;$d<$darray;$d++){ echo "$d: ".$duparray

[PHP] array_unique wierdness -addendum

2003-04-05 Thread Greg Robillard
Oh yeah - I'm using Version 4.2.3 on Linux __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sendmail scripts -which user?

2001-07-18 Thread Greg Robillard
I would like to use the PHP Mail() function. I know that my script that uses it works, because I have used it on another server. But there seems to be a problem with sendmail, and whether I can send email as an anonymous user (noboby). Anyone have any thoughts on this one? Thanks, Greg