Help with php blank page?

前端 未结 10 621
一向
一向 2021-01-15 23:46

I run a fantasy basketball league. My php website/sql database is designed to let the person running the team do everything through the website - they can waive a player, an

10条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-16 00:16

    If you made no changes to any files and it just "broke" then that would indicate that either your webhost went thru a configuration change, your database got hosed somehow, or that someone else may've changed something.

    To help spot the culprit, after every one of these

    if{
    else{
    while{
    

    or/and after every few statements (statements end with a semicolon ;) add this to the next line

    print "
    made it to this label: some_unique_label_name_here";

    Where you should replace the label each time to help you trace the code. This will be your first step into debugging the script to figure out how far the code execution is reaching.

提交回复
热议问题