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 'and linkvar= and dir_slike=''' at line 1
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/yacht13/public_html/adriatic/photo.php on line 45

Warning: Cannot modify header information - headers already sent by (output started at /home/yacht13/public_html/adriatic/photo.php:44) in /home/yacht13/public_html/adriatic/photo.php on line 59