> 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
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
2 matches
Mail list logo