-
- prepare($sql);
- $stmt->bind_param("si", $_SESSION['id'], $_SESSION['profile']);
- $stmt->execute();
- $result = $stmt->get_result();
- if ( $result->num_rows > 0 ) { $found = 1; $style = "background:#1cc88a; color:white;"; } else { $found = ""; $style = ""; }
-
- while ($row = $result->fetch_assoc()) {
- $uid = $row['uid'];
- }
- $stmt->close();
- ?>
-
-
-
- prepare($sql);
- $stmt->bind_param("si", $_SESSION['id'], $_SESSION['profile']);
- $stmt->execute();
- $result = $stmt->get_result();
- if ( $result->num_rows > 0 ) { $found = 1; $style = "background:#1cc88a; color:white;"; } else { $found = ""; $style = ""; }
-
- while ($row = $result->fetch_assoc()) {
- $uid = $row['uid'];
- }
- $stmt->close();
- ?>
-
-
-
-