Petit probleme en sql
rommel319
Messages postés
5
Statut
Membre
-
rommel319 Messages postés 5 Statut Membre -
rommel319 Messages postés 5 Statut Membre -
Bonjour,
je suis en train d'apprendre le php et le langage sql ,je fais des test sur mon ordinateur et j'ai eu cette erreur :#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"
est ce que c'est à cause de la première ligne mysql_connect ?
je suis en train d'apprendre le php et le langage sql ,je fais des test sur mon ordinateur et j'ai eu cette erreur :#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"
est ce que c'est à cause de la première ligne mysql_connect ?
Configuration: Windows XP Firefox 2.0.0.14
A voir également:
- Petit probleme en sql
- Trier du plus petit au plus grand excel - Guide
- Logiciel sql - Télécharger - Bases de données
- Petit point vert snap - Forum Snapchat
- Ème en petit ✓ - Forum LibreOffice / OpenOffice
- Petit 3 clavier ✓ - Forum Bureautique
<?php
mysql_connect("localhost", "root", "");
mysql_select_db("coursphp");
mysql_close();
?>
et voila l'erreur :
Erreur
MySQL a répondu:Documentation
#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