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 ?
A voir également:
- Petit probleme en sql
- Petit point vert snap ✓ - Forum Snapchat
- Comment imprimer une photo en petit ✓ - Forum Photo numérique
- Petit 2 ✓ - Forum Windows
- Imprimer une photo à la taille qu'on veut? - Forum Photo numérique
- Comment imprimer une image/photo dans une dimension spéciale? - Forum Photo numérique
<?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