Whats The Different

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

    Whats The Different

    i see many times code like this
    Code:
    echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a>";
    and i&#39;d like to know whats the different from this
    Code:
    echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>Home</a>";
    i never understood why two lines instead just one?
    someone care to explaint that to me?
    It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
    ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
    ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
    キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

    #2
    i see many times code like this
    Code:
    echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a>";
    and i&#39;d like to know whats the different from this
    Code:
    echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>Home</a>";
    i never understood why two lines instead just one?
    someone care to explaint that to me? [/b]
    same thing,no differecnce

    Comment


      #3
      i see many times code like this
      Code:
      echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
       echo "Home</a>";
      and i&#39;d like to know whats the different from this
      Code:
      echo "<a href=\"index.php?action=main&sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>Home</a>";
      i never understood why two lines instead just one?
      someone care to explaint that to me? [/b]
      There is no differance just a coder who don&#39;t understand how to code it into one line lol

      Comment


        #4
        yes there is a diff

        Pic
        Home


        thats how it works also when you cant open your eye&#39;s lol
        Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
        Visit: WapMasterz Coming Back Soon!
        _______
        SCRIPTS FOR SALE BY SUBZERO
        Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
        FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
        _______
        Info & Tips
        php.net
        w3schools.com

        Comment


          #5
          The reason i would do that is cos some browsers show for no reason a space at the end of links.. that fixes the problem.

          Comment

          Working...
          X