Jump to content

Sending php data to a html template


scottybwoy

Recommended Posts

The "Hello" message is an easy PHP echo of the logged in person's username.  The date generated is more than likely javascript.  The hello message would require a registration/user management system of sorts and a date javascript function is as easy as typing it into google and using the one you like that comes up.
Link to comment
Share on other sites

Cheers, I already have my login script and a session variable is stored and I know how to use echo, my problem is I have my header template included but I want that data from my php to go into a welcome message in my template.  Or is there no way to do that, sort of like post but the other way round.  Cheers I shud have thaught about client side java for the date.  Any more solutions to the prior question?
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.