Results 1 to 1 of 1

Thread: Foreach...

  1. #1
    Join Date
    Dec 2006
    Location
    Kent, UK
    Posts
    627
    Tokens
    138
    Habbo
    Romanity

    Latest Awards:

    Default Foreach...

    Right, say for example i wanted to seperate each letter of anyword... lets say HABBO.

    How would I do it?

    In the end it would be like:

    PHP Code:
    $letters = FUNCTION NEEDED ($string); //In this case the word HABBO
    foreach($letters AS $le){
    echo(
    "$le.gif");

    So it would replace the word with a letter for each of the letters =] All i need is the function please ;D

    Edit: Nvm, got it =]
    Last edited by Romanity; 10-05-2007 at 04:24 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •