PHP Tab
Moderator: General Moderators
PHP Tab
Hello, i was just wondering if there was a way to make tabs in PHP. For example have a navigation bar, but instead of clicking on a link, and going to a different page, clicking on an element, and changing the contents of a "Panel" underneath it. Kind of like an "onClick" function, but i haven't got that to work.
Re: PHP Tab
PHP is server side script. There is no way for you to code anything that detects user actions like clicking, since PHP was run before anything was sent to the browser and no PHP script is in the page that is received by the browser. You need to ask this question in the Client Side forum.