Home  >  Article  >  php教程  >  在JavaScript中调用php程序

在JavaScript中调用php程序

WBOY
WBOYOriginal
2016-06-13 12:24:401137browse

复制代码 代码如下:







Please Click



复制代码 代码如下:


if($_GET["action"]=="ok")
{
echo "I'm OK!";
}
else
{
echo "I'm not OK!";
}
?>

Statement:
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