www.webdeveloper.com
Results 1 to 4 of 4

Thread: Ugh, I can't think of the word for .=

  1. #1
    Join Date
    Jul 2004
    Location
    West Coast, Canada
    Posts
    665

    Ugh, I can't think of the word for .=

    What is it?! I'm going crazy over here. I know it starts with a "C" but I can't put my finger on it! I can't even search it on google either because I don't know the word--it keeps on mixing it up with "connection."

    Help!

    King Regards,
    Jaime Bueza

    "Everything in a web browser."

  2. #2
    Join Date
    Mar 2004
    Location
    London, UK
    Posts
    342
    Concatenation Operator

    I think is what you are looking for.

  3. #3
    Join Date
    Jul 2004
    Location
    West Coast, Canada
    Posts
    665
    Thanks mate!

    and that just makes it so it adds on to the variable, right?

    "Everything in a web browser."

  4. #4
    Join Date
    Jul 2003
    Location
    Wales
    Posts
    1,382
    Originally posted by BuezaWebDev
    Thanks mate!

    and that just makes it so it adds on to the variable, right?

    Yes it does, in JS its this:

    "String 1 " + "String 2" == "String 1 String 2"

    In PHP its this:

    "String 1 " .= "String 2" == "String 1 String 2"

    Or

    "String 1 " . "String 2" == "String 1 String 2"

    More info on these here: http://www.php.net/manual/en/languag...ors.string.php

    RyanJ
    Last edited by sciguyryan; 09-05-2004 at 11:04 AM.
    Cheers,

    Ryan Jones.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles