if($row["work_state"] == 0) { echo "your mission hasn't been completed,do you want to finish it right now?<br> "; ?> <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> </head> <body> <input type="button" value="OK" onclick="location.href='A.html'"/> </body> </html> <?php }
以上就介紹了PHP寫HTML,包含了方面的內容,希望對PHP教學有興趣的朋友有幫助。