Tfe

Ongi etorri tfe-ren webgunera...

Old stuff/old_sites/newepik/include/breves.php

(Deskargatu)
<div class="article">
<h2>En bref, sur le monde informatique... </h2>
<?
if ($axx)
{
    $query = "SELECT MAX(id) FROM breves";
    $result = mysql_query($query) or die(mysql_error());
    while($row = mysql_fetch_array($result))
    {
	$breves_id = $row[0];
    }
    
    $query = "UPDATE membres SET breves_id='$breves_id' WHERE pseudo='$nick'";
    mysql_query($query) or die(mysql_error());
    
}



$page = "breves";
include("view.php");

?>
</div>