mySQL query multiple - returns error mysql_fetch_array

前端 未结 3 1790
渐次进展
渐次进展 2021-01-28 10:34

I have 2 database tables (for a booking system) with the following structures:

quartos:

  • id_quarto.
  • tipo_quarto
3条回答
  •  感动是毒
    2021-01-28 11:12

    1. You need to call mysql_query to get the resource set. See http://php.net/manual/en/function.mysql-fetch-array.php for an example.
    2. Should escape the $POST variables

提交回复
热议问题