html - PHP - access different pages -


i want make php page following scenarios:

  • if click "my account", link me login page if i'm not logged site.
  • if click "my account" , i'm logged site, take me user account.

you can php sessions purpose.have @ below example

login session


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -