Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2004
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Welcome message on each page.

    dear friends,
    i have created some php pages and i want this kind of message on each and every page the user visits.

    "Welcome, username.
    You last visited: 09-27-2004 at 10:52 AM
    Private Messages: 0 Unread, Total 0."

    help me.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    905
    Thanks
    23
    Thanked 5 Times in 5 Posts
    Hey again,

    Need some more information...

    The vars such as new email etc .. where is that coming from ? A DB? Text file? etc etc

    Also if you are grabbing their username as their session begins and do not wish to send it to each page in a string then just start a session and register the name in the session.. then on every page it calls the session by the username and finds the mail vars from db/text file and displays it

    P


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •