droidus Posted September 25, 2011 Share Posted September 25, 2011 i have some tabs, and they use to work. http://pastebin.com/bddmBJYK it use to print out the tabs, but when i put php code into it, the tabs don't show up at all. Quote Link to comment https://forums.phpfreaks.com/topic/247836-tabs/ Share on other sites More sharing options...
AyKay47 Posted September 25, 2011 Share Posted September 25, 2011 bottom line here.. don't insert PHP into javascript markup..won't work.. javascript is client-side script, PHP is server side.. they are executed at different times.. they do not work hand in hand with one another.. Quote Link to comment https://forums.phpfreaks.com/topic/247836-tabs/#findComment-1272684 Share on other sites More sharing options...
droidus Posted September 26, 2011 Author Share Posted September 26, 2011 hm, so how else can i go about this? i want a tab for inbox, sent, and logout. Quote Link to comment https://forums.phpfreaks.com/topic/247836-tabs/#findComment-1272738 Share on other sites More sharing options...
AyKay47 Posted September 26, 2011 Share Posted September 26, 2011 tabs can really be done with some CSS and javascript.. you can also look at the jquery tabs widget as an idea.. or even to use it. Quote Link to comment https://forums.phpfreaks.com/topic/247836-tabs/#findComment-1272842 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.