PHP Tab

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!

Moderator: General Moderators

Post Reply
~ Zymus ~
Forum Newbie
Posts: 11
Joined: Wed Nov 05, 2008 8:36 pm

PHP Tab

Post by ~ Zymus ~ »

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.
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: PHP Tab

Post by califdon »

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.
Post Reply