Php
marwan
-
mpuissance4 Messages postés 14921 Date d'inscription Statut Contributeur Dernière intervention -
mpuissance4 Messages postés 14921 Date d'inscription Statut Contributeur Dernière intervention -
Bonjour,
Parse error: parse error, unexpected T_STRING in C:\Program Files\EasyPHP 2.0b1\www\G-Sav_free\fonction_creation_fiche.php on line 27
voila g cette erreur apparement a la fin de mon script je ne sai pa prkoi... g vu ds certain forum k la cause pourrai etre des acolade mankante ms je nen n'ai pa
voila mon code
<?php
include("includes/header.php");
include("includes/config.php");
?>
<center><table border="0" class="table">
<tr>
<td class="titre">LA FICHE A BIEN ETE CREER ! </td>
</tr>
</table></center>
<br>
<?php
$nom_entreprise = $_POST['nom_entreprise'];
$nom_contact = $_POST['nom_contact'];
$prenom_contact = $_POST['prenom_contact'];
$telephone_contact = $_POST['telephone_contact'];
$nom_technicien = $_POST['nom_technicien'];
$type_incident = $_POST['type_incident'];
$travail_effectue = $_POST['travail_effectue'];
$remarque_service_technique = $_POST['remarque_service_technique'];
$query = "INSERT INTO fiche (id, nom_entreprise, nom_contact, prenom_contact, telephone_contact, nom_technicien, type_incident, travail_effectue, remarque_service_technique)
VALUES ('', '$nom_entreprise', '$nom_contact', '$prenom_contact', '$telephone_contact', '$nom_technicien', 'type_incident', '$travail_effectue', '$remarque_service_technique');
$results = mysql_query($query) or die
("Could not execute query : $query ." .mysql_error()");
if ($results)
{
echo "<center>La Fiche à Ete Créer ! <br><a href=\"num_fiche.php\"> Voir le numéro d'identification</a></center>";
}
mysql_close();
include("includes/footer.php");
?>
Parse error: parse error, unexpected T_STRING in C:\Program Files\EasyPHP 2.0b1\www\G-Sav_free\fonction_creation_fiche.php on line 27
voila g cette erreur apparement a la fin de mon script je ne sai pa prkoi... g vu ds certain forum k la cause pourrai etre des acolade mankante ms je nen n'ai pa
voila mon code
<?php
include("includes/header.php");
include("includes/config.php");
?>
<center><table border="0" class="table">
<tr>
<td class="titre">LA FICHE A BIEN ETE CREER ! </td>
</tr>
</table></center>
<br>
<?php
$nom_entreprise = $_POST['nom_entreprise'];
$nom_contact = $_POST['nom_contact'];
$prenom_contact = $_POST['prenom_contact'];
$telephone_contact = $_POST['telephone_contact'];
$nom_technicien = $_POST['nom_technicien'];
$type_incident = $_POST['type_incident'];
$travail_effectue = $_POST['travail_effectue'];
$remarque_service_technique = $_POST['remarque_service_technique'];
$query = "INSERT INTO fiche (id, nom_entreprise, nom_contact, prenom_contact, telephone_contact, nom_technicien, type_incident, travail_effectue, remarque_service_technique)
VALUES ('', '$nom_entreprise', '$nom_contact', '$prenom_contact', '$telephone_contact', '$nom_technicien', 'type_incident', '$travail_effectue', '$remarque_service_technique');
$results = mysql_query($query) or die
("Could not execute query : $query ." .mysql_error()");
if ($results)
{
echo "<center>La Fiche à Ete Créer ! <br><a href=\"num_fiche.php\"> Voir le numéro d'identification</a></center>";
}
mysql_close();
include("includes/footer.php");
?>
A voir également:
- Php
- Easy php - Télécharger - Divers Web & Internet
- Expert php pinterest - Télécharger - Langages
- Retour a la ligne php - Forum Webmastering
- Alert php - Forum PHP
- Retour a la ligne php ✓ - Forum PHP