html - Change login/register dropdown to "my account" when user login Bootstrap/PHP -


i learning bootstrap , first front-end project. have login/register dropdown menu , php backend logic implemented php session.

i want know how change login/register dropdown "my account"?

i thought making separate page logged , offline user , using index.php page redirect correct page. however, find solution highly inefficient since basicaly copy/pasting same page change 1 dropdown button.

how should handle kind of situation?

here dropdown button:

login form


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -