i want to create tabs according to data from MySQL database using php for instance count the number of groups if they are 5 create 5 tabs.How could i do that.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can generate JS from PHP just as easy as HTML.
If you are using inline JavaScript within your PHP file, you can just open up PHP and print out whatever you need.
If you are using .js files, you can tell your HTTP server to pass .js files through PHP with this change in Apache for example.
Now Apache will pass .js files through PHP first. This can increase load on the server, and .js files are often cached more than php or html files.