Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 8

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 11

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 14

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 105

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 105

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 105

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 106

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 106

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 108

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 108

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 108

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 108

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 108

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 109

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 109

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 109

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 109

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 111
 Forum Panda Pirate
Forum Grenier xIF  
Panda Pirate, forum rôliste

Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 39
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

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: Undefined variable $link in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 98

Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php:98 Stack trace: #0 /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php(98): mysqli_query() #1 /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php(52): displayThread() #2 {main} thrown in /home/clients/13eaf4559a54d78787520f07cab62616/web/panda/archreply.php on line 98