hi there asked something here

Discussion in 'Programming' started by infophp, Dec 7, 2007.

  1. #1
    hi i would like to make the echo php will be this = sample
    <?php echo "string"; ?> to be <?="string";?>

    thanks.:)
     
    infophp, Dec 7, 2007 IP
  2. ven123

    ven123 Banned

    Messages:
    389
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I didnt understand you can you please explain?
     
    ven123, Dec 8, 2007 IP
  3. decepti0n

    decepti0n Peon

    Messages:
    519
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The longer way is probably better though
     
    decepti0n, Dec 8, 2007 IP
  4. ven123

    ven123 Banned

    Messages:
    389
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Oh he wants know which one to use? How did you guess what he wanted?
     
    ven123, Dec 8, 2007 IP
  5. TwistMyArm

    TwistMyArm Peon

    Messages:
    931
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Maybe he's saying that he wants to be able to use <?= instead of <?php echo.... in which case, he needs to make sure that short_open_tags is On in his php.ini.
     
    TwistMyArm, Dec 8, 2007 IP