where do i start

i need help on where to start with the following question. Is a loop required.

Using your knowledge of ASCII character sets and If-Else, create a PHP application that will read through every character of a stored string, by a using a suitable loop, and will count the number of @ characters found in the string. (Note: the ASCII value for the @ character = 64). The number of @ characters found should be displayed on screen (even if none were found). To help you achieve this you may need to count the number of characters in the string.

Sponsor our Newsletter | Privacy Policy | Terms of Service