0

My main concern is the security of inserting, updating, & deleting of record in my database table.

If I use the following code:

    $sql_room = "UPDATE `lf_rooms` SET room_count`=$room_count
                    WHERE id = $room_id";

    mysqli_query($con, $sql_room);

Is this secure or do I need to use prepare statement?

jaypabs
  • 1,519
  • 10
  • 43
  • 62

0 Answers0