PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am just wondering if this is possible because I am using a drop down login form when I click Login Link but when I click Login this will change to Close since Dropdown Login is shown and if closed then Close link will go back to its original value Login.
@twinedev Good use of the echo and ternary operator; i'll definitely use this format in future. I used to get tripped up by adding an echo in die 2nd and 3rd expressions so i did it in the way i posted
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering