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 }
The above is an introduction to writing HTML in PHP, including various aspects. I hope it will be helpful to friends who are interested in PHP tutorials.