RE: [PHP] Random value from ini file

2006-03-28 Thread Jim Moseby
> I have an ini file that has: > 1 = "words"; > 2 = "words1"; > 3 = "words3"; > > I want to pull a rand value and print it out > I'm trying to use parse_ini_file but its not working any help would > be great. > Thanks You could read them all into an array then use array_rand() to pick one. ht

[PHP] Random value from ini file

2006-03-28 Thread Benjamin Adams
I have an ini file that has: 1 = "words"; 2 = "words1"; 3 = "words3"; I want to pull a rand value and print it out I'm trying to use parse_ini_file but its not working any help would be great. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u