https://www.icyphoenix.com/viewtopic.php?f=26&t=3693&p=24971#p24971
-----------------------------------
Mighty Gorgon
Tue 26 Feb, 2008 00:49

Re: Bug When Trying To Edit A Photo Title After It's Posted.
-----------------------------------
It is a wrong escaped SQL...

Can you try to edit that SQL in this way please?

[codeblock]	$sql = "UPDATE ". ALBUM_TABLE ."
			SET pic_title = '" . $pic_title . "', pic_desc= '" . $pic_desc . "'
			WHERE pic_id = '" . $pic_id . "'";[/codeblock]

If it doesn't work we need to add "ADDSLASHES" function...

Which version of FAP do you have?


