$qq = mysqli_query($con, "INSERT INTO `users` VALUES ('', '$user', '$passMD5', '$email', '0', '', '')");
<?php $q = mysqli_query($con, "SELECT * FROM `users` WHERE `username`='$user'"); $info = mysqli_fetch_array($q); ?> <form action='accountPage.php' method='POST'> <table> <tbody> <tr> </tr> <tr> </tr> </tbody> </table> </form> <?php $q = mysqli_query($con, "SELECT * FROM `users` WHERE `username`='$user'"); $info = mysqli_fetch_array($q); ?> <form action='accountPage.php' method='POST'> <table> <tbody> <tr> </tr> <tr> </tr> </tbody> </table> </form>
$status = $_POST['status']; if ($q) { echo 'Update completed successfully.'; }else echo 'Failed to update user status.'; } $sig = $_POST['sig']; if ($q) { echo 'Update completed successfully.'; }else echo 'Failed to update user signature.'; }
$replies = '<table><tbody>'; $replies .= '<tr><td>'.$row["content"].'</td><td>'.$row["author"].'</td></tr>'; } $replies .= '</tr></tbody></table>'; }
$replies = '<table><tbody>'; $author = $row["author"]; $replies .= '<tr><td>'.$row["content"].'</td><td>'.$author.'</td><td>'.$repliedUser["signature"].'</td></tr>'; } $replies .= '</tr></tbody></table>'; }