peter_vazed
Member
OP
Error message? <br />file? <br />If it is pictures.php <br /> <br />n in pictures.php op line 36 gid has to be id <br />if(!empty($GLOBALS[´filter´])) $query .= " id=´".$GLOBALS[´filter´]."´ "; <br /> <br />what is gid doing here? line 37 <br /> <br />van pictures.php <br />line 86 if($ar[id] == 0) $root = "/"; <br />XXXXX <br /> <br />/* gid has to be id line 89 and 92*/ <br /> <br />line 239 <br /> <br /> <br />pictures.php <br />line 313 if(file_exists($GLOBALS[´gallery_path´]."/".$ar[picture]) && !empty($ar[picture])) <br /> <br />line 330 <br /> <br />This line 336 <br /> <br />$res = mysql_query("UPDATE ".$GLOBALS[´db_gallery´]." SET name=´".$_POST[´name´]."´, description=´".$_POST[´description´]."´, gid=´".$_POST[´root´]."´ WHERE id=´".$_POST[´id´]."´" or die("LINE 262:".mysql_error()); <br /> <br />gid=´".$_POST[´root´]."´ ----> should be -----> root=´".$_POST[´root´]."´ <br /> <br />There are typos in the code: gid has to be id <br /> <br /> :fighter