<a href="http://pl.php.net/Warning: unlink(pliki/$wiersz[0]): No such file or directory in /home/dext/public_html/randki/delfoto.php on line 70
Warning: unlink(miniaturki/$wiersz[0]): No such file or directory in /home/dext/public_html/randki/delfoto.php on line 71
1146: Table 'dext_.$kategoria' doesn't exist
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/dext/public_html/randki/delfoto.php on line 78
1146: Table 'dext_.$kategoria' doesn't exist
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/dext/public_html/randki/delfoto.php on line 85
1146: Table 'dext_.$kategoria' doesn't exist
1064: 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 ' -1' at line 1
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/dext/public_html/randki/delfoto.php on line 101
1146: Table 'dext_.$kategoria' doesn't exist
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/dext/public_html/randki/delfoto.php on line 115
Kliknij zdjęcie, które chcesz usunąć.
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/dext/public_html/randki/delfoto.php on line 119" title="Zobacz w manualu php" target="_manual">Warning: unlink(pliki/$wiersz[0]): No such file or directory in /home/dext/public_html/randki/delfoto.php on line 70
Warning: unlink(miniaturki/$wiersz[0]): No such file or directory in /home/dext/public_html/randki/delfoto.php on line 71
1146: Table 'dext_.$kategoria' doesn't exist
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/dext/public_html/randki/delfoto.php on line 78
1146: Table 'dext_.$kategoria' doesn't exist
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/dext/public_html/randki/delfoto.php on line 85
1146: Table 'dext_.$kategoria' doesn't exist
1064: 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 ' -1' at line 1
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/dext/public_html/randki/delfoto.php on line 101
1146: Table 'dext_.$kategoria' doesn't exist
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/dext/public_html/randki/delfoto.php on line 115
Kliknij zdjęcie, które chcesz usunąć.
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/dext/public_html/randki/delfoto.php on line 119</a>
a to caly kod do usuwania fotek...
<? echo "<img src='img/premium.bmp'><br><img src='img/2px.bmp'><br> <table width='635' border='0' cellspacing='0' cellpadding='0'> <tr> <td> <center><BR><div class='uwaga' style='width:400px'><b><center>Nie jesteś zalogowany.<br>Ta strona wymaga zalogowania!</b><br></div></center>"; } else { $action=$_REQUEST['action']; $kategoria=$_REQUEST['kategoria']; $plik=$_REQUEST['plik']; echo "<img src='img/premium.bmp'><br><img src='img/2px.bmp'><br> <table width='635' border='0' cellspacing='0' cellpadding='0'> <tr> <td> <center><BR><div class='uwaga' style='width:400px'><b><center>Nie jesteś zalogowany.<br>Ta strona wymaga zalogowania!</b><br></div></center>"; } else { $login=$_SESSION['login']; $haslo=$_SESSION['haslo']; include("connect.php"); ?> <img src='img/add_zdj.bmp'><br><img src='img/2px.bmp'><br> <table width='635' border='0' cellspacing='0' cellpadding='0'> <tr> <td> <center> <div class=normal align=left>Kategoria:</div> <select name=kategoria class=inp> <option value="female">Kobieta</option> <option value="male">Mężczyzna</option> </select><br><br> <input type=submit value=" Dalej " class='button'> </form> <? if($action==usun) { $pyt=@mysql_query("SELECT numer FROM $kategoria WHERE plik='$plik' AND login='$login' AND haslo='$haslo'"); $num=$zzz[0]; // numer wiersza z usuwanym plikiem $del=@mysql_query("DELETE FROM $kategoria WHERE plik='$plik' AND login='$login' AND haslo='$haslo'"); else // od numeru usuwanego do $ile-1 $ile=$ile-1; { $nowy=$rowek[0]-1; } } if($kategoria) { { echo('<a href="index.php?show=delfoto&action=usun&plik=$wiersz[0]&kategoria=$kategoria&'. SID .'">'); } } } } ?> </center>
Z góry dziękuje za pomoc
