Problems with PHP and MySQL

前端 未结 4 1788
难免孤独
难免孤独 2020-12-12 03:49

I am working within Xcode and have an iOS application that you input information and the app connects to a DB via a PHP file. There is no problem when uploading, a name or a

4条回答
  •  甜味超标
    2020-12-12 04:05

    use mysql_real_escape_string like

     $firstName = mysql_real_escape_string($_GET["firstName"]);
    

    before all get values

    Thanks

提交回复
热议问题