Help with php blank page?

前端 未结 10 678
一向
一向 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:12

    As an aside, you should change every variable from a get or post such as:

    $Team_Offering = $_POST['Team_Name'];
    

    to

    $Team_Offering = mysql_real_escape_string($_POST['Team_Name']);
    

    before using it in a mysql query, otherwise you are vunerable to SQL injection attacks.

提交回复
热议问题