Home > Backend Development > PHP Tutorial > mysql-通过点击PHP输出的文字,来执行下一段PHP代码,页面不变

mysql-通过点击PHP输出的文字,来执行下一段PHP代码,页面不变

WBOY
Release: 2016-06-02 11:31:16
Original
890 people have browsed it

mysqlphpjavascripthtml后台

例:
通过PHP输出MySQL中的数据库名a、b、c;
之后,当点击a时,执行下一段PHP代码,输出a含有的表名;
点击b时,执行下一段PHP代码,输出b含有的表名。

这样。使用PHP5.5版本
怎么才能做到呢?必须通过JS中转吗?通过JS又怎样才可以中转呢?

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template