Announcement

Collapse
No announcement yet.

FREE Templates

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by gabrielcrowe
    now i know you're a coder, responding like that.

    however, your second comment should be something like:

    PHP Code:
    $fergus=$teclan[$staffid]; 
    LOL Gabe...

    *picks up megaphone and says loudly......*

    "Gabriel Crowe....step away from the code"
    Tracey

    Comment


      #17
      Sorry Gabe,
      You're quite right to pick me up on that.


      Code:
       $teclan=array("fergus", "iain", "lewis","Nicola", ............);
      
      foreach ($teclan as $value)
      {
        if ($value == "fergus")
        {
        echo "Look! I work here! - " . $value . "<br />";
        }
        else
        {
        echo $value . " works here too!<br />";
        }
      }

      [Note: Not fully tested]

      OP - Get your geek name here http://totl.net/GeekName/
      Fergus Weir - teclan ltd
      Ecommerce Digital Marketing

      SellerDeck Responsive Web Design

      SellerDeck Hosting
      SellerDeck Digital Marketing

      Comment


        #18
        OK how many people have done it then ?

        Nice one Fergus

        Comment


          #19
          Got me too
          Ian
          Commercial Cleaning Cambridgeshire

          Comment


            #20
            Ditto......

            Comment


              #21
              I got partway and then it lost me so I slinked away discreetly and pretended I hadn't done it.....
              Tracey

              Comment


                #22
                Originally posted by budgetbumps
                I got partway and then it lost me so I slinked away discreetly and pretended I hadn't done it.....
                That would be your favourite ASCII UTF character then

                Comment

                Working...
                X