Edit database content Programming Web Development by LaurenE …{ printf("Connect failed: %s\n", mysqli_connect_error()); exit(); } $enquery = "SELECT * FROM casestudy WHERE caseid='$i'"; $enresult = …mysqli_query($conn, $enquery) or trigger_error($enquery . ' - has encountered an error at:<br />… Re: PHP tables Programming Web Development by zebnoon1 … data transfer to table and textboxes will cleare for next enquery......and when he done after it will submit his his… Re: Edit database content Programming Web Development by pritaeas Your queries have a comma before the WHERE, it will generate an error. Remove it. Re: Edit database content Programming Web Development by LaurenE Commas have been removed! Thanks, I feel a bit daft about it being something so small. I just couldn't see it though Thank you!!!