$query = "INSERT INTO update_feedback (updateID,comment,timestamp) VALUES ('$updateID','$comment',NOW())";
$result = mysqli_query($dbcon,$result) or die('Error saving feedback into database. ' .mysqli_error($dbcon));

Gives me this error:

Error saving feedback into database. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1' at line 1

lol I even can't find a "1" in line 1 xD
try to delete the space between the table-name and the (
(It is possibly not the problem, but you can always try)

$result = mysqli_query($dbcon,$result)

Is this a typo ? Apart from that, nothing is wrong with the query.

Is this a typo ? Apart from that, nothing is wrong with the query.

Lol wow haha, I must've scanned through atleast 20 times, can't believed I missed it, thanks :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.