📁
SKYSHELL MANAGER-
🛒
PHP v7.4.33
Create Folder
Create File
Current Path:
home
/
oshofree
/
public_html
/
chbluxuries.com
/
chb_data
/
Name
Size
Permissions
Actions
📁
..
-
0755
🗑️
🔒
📄
config.php
7.06 KB
0444
🗑️
⬇️
✏️
🔒
📄
error_log
328.65 KB
0644
🗑️
⬇️
✏️
🔒
Editing: review.php
<?php $check = "SELECT all* from review where id='$user' "; $query = mysqli_query($con,$check); if (mysqli_affected_rows($con) == 0) { echo '<div class="row"> <div class="col-lg-6" style="padding:20px; width:90%; margin:auto;"> <span class="use"><i>No reviews yet</i></p> </div></div>'; } else { $sql = "SELECT all* from review where id='$user' ORDER By date DESC LIMIT 5"; $sql2 = mysqli_query($con,$sql); while($row = mysqli_fetch_array($sql2)) { echo ' <div class="row"> <div class="col-lg-6" style="padding:20px; width:90%; margin:auto;"> <img src="user.png" class="ima" alt="" style="float:left;" /> <p style="margin-left:100px;"><span style="font-size:12px;"><i>'.$row['date'].'</i></span> <br><span class="use">'.$row['user'].'</span> <br />'.$row['mess'].'<br /> <span class="use"><i>Rating : '.$row['rate'].'</i></p> </div></div> '; } } ?>
💾 Save Changes