Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [MySQL][PHP] skrypt wysyłania danych do bazy
-Gość-
post
Post #1





Goście







  1. <?php
  2. include ('polacz.php');
  3.  
  4. $imie = $_POST['imie'];
  5.  
  6. <form action="index.php" method="post">
  7. <input name="imie" value="" />
  8. <input type="submit" value="Wyslij" name="submit"/>
  9. </form> '
  10.  
  11. $zapytanie = "INSERT INTO `users` VALUES('$imie')";
  12. $wykonaj = mysql_query($zapytanie);
  13.  
  14. ?>


Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /home/beosky/public_html/index.php on line 12

W czym problem?
Go to the top of the page
+Quote Post

Posty w temacie
- Gość   [MySQL][PHP] skrypt wysyłania danych do bazy   15.04.2012, 20:25:57
- - usb2.0   eeeee.. średnik po echo?   15.04.2012, 20:43:40
- - Ruch Radzionków   [PHP] pobierz, plaintext <?php include ('po...   15.04.2012, 20:46:16


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 26.09.2025 - 04:32