InterviewSolution
| 1. |
How To Randomly Retrieve A Value From An Array? |
|
Answer» If you have a list of favorite GREETING MESSAGES, and want to randomly select one of them to be used in an email, you can use the array_rand() function. Here is a PHP example script: If you have a list of favorite greeting messages, and want to randomly select one of them to be used in an email, you can use the array_rand() function. Here is a PHP example script: |
|