Random Quote Script
Posted: Wed May 28, 2003 3:02 pm
Hi,
I'm new to PHP, having a go at making a random quote script. I'm using an array to store the quotes and want to use rand function to pull them out, but I need to know how many elements there are in the array.
Can anyone help me? Is there a function to count array elements?
Thanks
p3pC
I'm new to PHP, having a go at making a random quote script. I'm using an array to store the quotes and want to use rand function to pull them out, but I need to know how many elements there are in the array.
Can anyone help me? Is there a function to count array elements?
Thanks
p3pC