Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] Problem z zapytaniem
Balon
post 19.03.2006, 13:00:53
Post #1





Grupa: Zarejestrowani
Postów: 422
Pomógł: 0
Dołączył: 14.12.2005
Skąd: Wałbrzych

Ostrzeżenie: (0%)
-----


  1. <?php
  2. $this->sql_query ("SELECT lvl, mp, str, int, def, agi, cel FROM mobs WHERE id = '".$this->intMob."' ORDER BY id LIMIT 1");
  3. ?>


taki kod generuje blads

Kod
Error: 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 'int, def, agi, cel FROM mobs WHERE id = '1' ORDER BY id LIMIT 1


ale dlaczego ?


--------------------
Postura wielka i morda wredna, jestem Balon, kozak z osiedla !
bzdury.pl - Królestwo rozrywki
Go to the top of the page
+Quote Post

Posty w temacie
- Balon   [php] Problem z zapytaniem   19.03.2006, 13:00:53
- - Kuziu   Zarezerwowane frazy MySQL'a jak wiesz przy tw...   19.03.2006, 13:31:09


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

 



RSS Wersja Lo-Fi Aktualny czas: 6.07.2025 - 20:03