1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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