Lisez d'abord la FAQ, svp =>[ FAQ ] [ Thread Index ] [ Search ] [ Archives ] [ Pandapirate ] |
Topic: Pour la transparence Posted by: Marneus at mar. 29 juin 2004 10:57:30 CEST Keywords: pour vraiment montrer que c'était pas dur... |
Message:
Là où tu as (ligne 4): if( isset( $id ) ): archiveThread( $id ); header( "Location: archive.php" ); Tu mets 3 lignes en plus: if( isset( $id ) ): $result = mysql_query( "SELECT num FROM forum WHERE rootID=$id" ) or error( mysql_error() ); $row = mysql_fetch_array( $result ); if ($row[ 'num' ] <> 0) mysql_query( "DELETE FROM notification where num = $row[ 'num' ]" ) or error( mysql_error() ); archiveThread( $id ); header( "Location: archive.php" ); |
Warning: mysqli_query() expects parameter 1 to be mysqli, null given in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 98 Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 101 >> Next topic: Les films pornos pour les pandas! (sujet interdit - de 18 ans :) - Aldarian, lun. 28 juin 2004 16:56:11 CEST |
Les sites autour du Panda |
Powered by Pandapirate, based on Zforum © XGRA 2001. |