I have the following sql update statement and the variables are being sanitized prior. The information is coming from a form and the database columns are TEXT. INSERTS work flawlessly.
DB Structure:
file_title=text file_description=text id=INT
mysqli_query($con,"UPDATE images
SET file_title=$FileTitle, file_description=$FileDescription
WHERE id=$image_id");
For some unknown reason I can only update using numeric values as it just won't update using any text which is frustrating.
I must just be missing something really basic. Any advice would be appreciated.