Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


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
  •