![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 3 Pomógł: 0 Dołączył: 6.05.2008 Ostrzeżenie: (0%) ![]() ![]() |
Witam.
Nie potrafię dostrzec błędu w tym kodzie a MySQL wywala błąd składniowy. Prosze o pomoc ![]() CODE $query_rs_countblogs = "select * from ".$table_prefix."posts where post_category=".$row_rs_category['term_ID'];
|
|
|
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 897 Pomógł: 40 Dołączył: 16.12.2003 Skąd: Warszawa Ostrzeżenie: (0%) ![]() ![]() |
A dokładnie jaki błąd? Spróbuj ew.
Ten post edytował czachor 21.05.2008, 14:30:03 -------------------- how many SEO experts does it take to change a light bulb,lightbulb,light,bulb,lamp,lighting,switch,sex,xxx
5-Reasons-why-you-should-NEVER-fix-a-computer-for-free |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 3 Pomógł: 0 Dołączył: 6.05.2008 Ostrzeżenie: (0%) ![]() ![]() |
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 '' at line 1
|
|
|
![]()
Post
#4
|
|
![]() Grupa: Zarejestrowani Postów: 2 291 Pomógł: 156 Dołączył: 23.09.2007 Skąd: ITALY-MILAN Ostrzeżenie: (10%) ![]() ![]() |
Kod $query_rs_countblogs = ('select * from '.$table_prefix.' posts where post_category = "'.$row_rs_category['term_ID'].'"'); Usun sobie spacje kolo posts bo nie wiem czy ona ma byc czy niee Ten post edytował marcio 21.05.2008, 14:46:23 -------------------- Zainteresowania: XML | PHP | MY(SQL)| C# for .NET | PYTHON
http://code.google.com/p/form-builider/ Moj blog |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 10:28 |