hi, i wanna make a login column in my homepage.
when user is not login,the column will display the login form.
after the user login, the page will be redirected to the homepage but at the login column, it will display user id and last login date will session initialized.
i tried to do it,however is not working.
just wondering,what is the correct flow of this?
can i write
HTML Code:if(isset($id)) { display account info display edit button other detail } else { display login form other detail }
another question...
can i make the same output with the below code?
Code:if(isset($id)) { display account info display edit button } else { } display login form other detail





Bookmarks