Quick question about class definitions

Discussion in 'PHP' started by granGripau, Oct 12, 2009.

  1. #1
    Does anybody know if you are allowed to leave the php block of code (?>) and go in to html mode while you are in a class definition? I know it can be done in other circumstances, but I'm not sure about this...

    Thanks!!!
     
    granGripau, Oct 12, 2009 IP
  2. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes you can do this, no problem. (In a function in a class)
     
    premiumscripts, Oct 12, 2009 IP
  3. granGripau

    granGripau Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    OK, thanks premiumscripts :D
     
    granGripau, Oct 12, 2009 IP