thesnoobrats | bonjour, quand je met ce dans la rubrique SQL de PHPmyAdmin tout marche a merveille il me crée un entrée
INSERT INTO `iphoneinside`.`regis` (`id`, `speudo`, `pass`, `email`, `civ`, `prenom`, `nom`, `b_day`, `b_mounth`, `b_year`, `adress`, `adresse`, `ville`, `cp`, `pays`) VALUES ( '', '', '', '', '', '', '', '', '', '', '', '', '', '', '') |
mais si je rapjoute le reste
Code :
- <?php
- mysql_connect("localhost", "root", "" );
- mysql_select_db("iphoneinside" );
- mysql_query(INSERT INTO `iphoneinside`.`regis` (`id`, `speudo`, `pass`, `email`, `civ`, `prenom`,
- `nom`, `b_day`, `b_mounth`, `b_year`, `adress`, `adresse`, `ville`, `cp`, `pays`)
- VALUES ( ", '', '', '', '', '', '', '', '', '', '', '', '', '', '')
- mysql_close();
- ?>
|
PHPmyAdmin me dit :
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<?php
mysql_connect("localhost", "root", "" )' at line 1 Pouvez-vous me dire pourquoi ? |