Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $query = $pdo->prepare("SELECT profile_comments.*, users.username FROM profile_comments, users WHERE users.id = profile_comments.user_id_judge");
- $query->bindValue();
- $query->execute();
- $profile_comments = $query->fetch();
- foreach ($pdo->query($profile_comments) as $comments) {
- echo "<tr><td>" . $comments['id'] . "</a></td><td>" . $comments['comment'] . "</td><td>";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement