Fixed an = oops

This commit is contained in:
johnnyq
2022-02-26 11:25:27 -05:00
parent e16c5fe8ba
commit 7deea2ecac
3 changed files with 3 additions and 3 deletions

View File

@@ -77,7 +77,7 @@
$user_id = $row['user_id']; $user_id = $row['user_id'];
$user_name = $row['user_name']; $user_name = $row['user_name'];
?> ?>
<option <?php if($session_user_id = $user_id){ echo "selected"; } ?> value="<?php echo $user_id; ?>"><?php echo $user_name; ?></option> <option <?php if($session_user_id == $user_id){ echo "selected"; } ?> value="<?php echo $user_id; ?>"><?php echo $user_name; ?></option>
<?php <?php
} }

View File

@@ -79,7 +79,7 @@
$user_id_select = $row['user_id']; $user_id_select = $row['user_id'];
$user_name_select = $row['user_name']; $user_name_select = $row['user_name'];
?> ?>
<option <?php if($trip_user_id = $user_id_select){ echo "selected"; } ?> value="<?php echo $user_id_select; ?>"><?php echo $user_name_select; ?></option> <option <?php if($trip_user_id == $user_id_select){ echo "selected"; } ?> value="<?php echo $user_id_select; ?>"><?php echo $user_name_select; ?></option>
<?php <?php
} }

View File

@@ -80,7 +80,7 @@
$user_id_select = $row['user_id']; $user_id_select = $row['user_id'];
$user_name_select = $row['user_name']; $user_name_select = $row['user_name'];
?> ?>
<option <?php if($trip_user_id = $user_id_select){ echo "selected"; } ?> value="<?php echo $user_id_select; ?>"><?php echo $user_name_select; ?></option> <option <?php if($trip_user_id == $user_id_select){ echo "selected"; } ?> value="<?php echo $user_id_select; ?>"><?php echo $user_name_select; ?></option>
<?php <?php
} }