//Login.php
function display_login_form(){
//..Code
}
function handle_login(){
//..Code
}
-------------------------------------------------
//AddSubject.php
//No include any header
function handle_addsub_form(){
//..Some code
echo <<<SUCCESSRESPONSE
<html>
<head>
<title>New Subject record inserted</title>
<link rel="stylesheet" type="text/css" href="./css/mycss.css">
</head>
<body>
<h1 id="white">Creation of Subject</h1>
<h3 id="white">Created entry for subject $subjectcode $title</h3>
<br/>
<a href="XXXXXX">//<=== go to first php function handle_login()
<span id="white">Home</span>
</a>
</body>
</html>
SUCCESSRESPONSE;
}
从我上面的代码中,我假设每个人都理解我的问题,对吗?我如何只去特定的功能
因为如果我只是输入它只会转到第一个功能,我只想去特定的功能而忽略它的其余部分。有可能吗?