//connection
require("connect.php" );
$connect=mysql_connect(SERVEUR, NOM, PASSE);
mysql_select_db(BASE, $connect);
if (isset($add_lang))
{
$prem_lettre2=substr($add_language,0, 3);
$req2="INSERT INTO language (nom, valeur) VALUES ('".$add_language."', '".$prem_lettre2."')";
$que2=mysql_query($req2);
include("menu_principal.php" );
echo '<td bgcolor="#E8E8E8" align=right style="width:350px;">
<center>';
echo "- your request have been added -";
echo '</td>';
include("bas.php" ); } |