prepare("SELECT * FROM services WHERE id LIKE ?"); $stmt->bind_param("i", $service_id); $stmt->execute(); $query = $stmt->get_result(); $data = $query->fetch_assoc(); //print_r($data); $service_value = $data['name']; $description_value = $data['description']; $group_id_value = $data['group_id']; } if (!$boolEdit) { Template::render_header(_("New service"), "service", true); ?>