Skip to content

Commit

Permalink
Update survey.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hizclick authored Jan 25, 2020
1 parent 0b4ed9b commit 6a4be57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions survey.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
echo $id;
$sql = "INSERT INTO sentiment (tweet_id, user_name, sentiment) VALUES ('$id', '$uname', '$response')";
if ($conn->query($sql) === TRUE) {
echo "helo";
$result = mysqli_query($conn,"SELECT * FROM tweet order by RAND() limit 1");
$row = mysqli_fetch_array($result);
$text = $row['tweet'];
Expand Down

0 comments on commit 6a4be57

Please sign in to comment.