Display some text only for the first page load

Discussion in 'PHP' started by levani, Aug 29, 2009.

  1. #1
    How can I display some message only for the first page load. I have a wordpress blog and would like to display thank you message after I user adds comment for example. Is that possible using php?
     
    levani, Aug 29, 2009 IP
  2. kissmp3

    kissmp3 Well-Known Member

    Messages:
    160
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    121
    #2
    Yes, it is possible using PHP, just make a "if" case in comments file.
     
    kissmp3, Aug 29, 2009 IP
  3. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, just use sessions or cookies.
     
    premiumscripts, Aug 29, 2009 IP