![]() |
![]() ![]() |
![]() |
-Gość_Hardknox_*- |
![]()
Post
#1
|
Goście ![]() |
Mam problem przy modyfikowaniu cmsa, podstrony mi wychodzą, ale po kliknieciu nie przechodzi do wyswietlania kolejnych 3 z bazy
|
|
|
![]()
Post
#2
|
|
![]() Grupa: Moderatorzy Postów: 4 465 Pomógł: 137 Dołączył: 26.03.2004 Skąd: Gorzów Wlkp. ![]() |
1. Co to za CMS (ewentualnie kto to cos tak nazwał
![]() 2. Napiszę to ... naprawdę to zrobię... mówie poważnie...uwaga... register_globals=off 3. Istneje tez taka możliwiść, że źle zrozumiałeś LIMIT w zapytaniu sql. Te dwie wartości, to rekord startowy i rekord końcowy. -------------------- To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness; chaotic, confused, vulnerability, to inform yourself. Think for yourself. Question authority. |
|
|
![]()
Post
#3
|
|
![]() Grupa: Zarejestrowani Postów: 1 660 Pomógł: 13 Dołączył: 9.06.2004 Skąd: Wrocław i okolice Ostrzeżenie: (0%) ![]() ![]() |
@Cysiaczek:
A jak napiszesz:
Nie wiedziałem że LIMIT n m wyświetla rekordy od n do m (z Twojego tłumaczenia tak to można wywnioskować), raczej myślałem, że: Cytat The LIMIT clause can be used to constrain the number of rows returned by the SELECT statement. LIMIT takes one or two numeric arguments, which must both be non-negative integer constants (except when using prepared statements).
With two arguments, the first argument specifies the offset of the first row to return, and the second specifies the maximum number of rows to return. The offset of the initial row is 0 (not 1): SELECT * FROM tbl LIMIT 5,10; # Retrieve rows 6-15 -------------------- |
|
|
![]()
Post
#4
|
|
![]() Grupa: Moderatorzy Postów: 4 465 Pomógł: 137 Dołączył: 26.03.2004 Skąd: Gorzów Wlkp. ![]() |
Cóż. Zdarza się, że napiszę jakąś głupotę - mój powyższy post taką właśnie zawiera, za co przepraszam wszystkich, którzy mogli się nim kierować.
Nie wiem, czym się sugerowałem pisząc coś takiego, ale nic mnie nie tłumaczy ![]() -------------------- To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness; chaotic, confused, vulnerability, to inform yourself. Think for yourself. Question authority. |
|
|
![]()
Post
#5
|
|
![]() Grupa: Zarejestrowani Postów: 1 660 Pomógł: 13 Dołączył: 9.06.2004 Skąd: Wrocław i okolice Ostrzeżenie: (0%) ![]() ![]() |
@Cysiaczek :
Każdemu się zdaża - rada na przyszłość, zanim coś napiszesz, to sprawdź, poprzyj swoją wypowiedź linkiem/cytatem.... ![]() @Gość : gdzie masz zdefiniowane $p ?
W tym wypadku $p zawsze będzie miał wartość 0. -------------------- |
|
|
![]()
Post
#6
|
|
![]() Grupa: Moderatorzy Postów: 4 465 Pomógł: 137 Dołączył: 26.03.2004 Skąd: Gorzów Wlkp. ![]() |
Właśnie dlatego piszę o register_globals - przenosi w linku
![]() -------------------- To think for yourself you must question authority and
learn how to put yourself in a state of vulnerable, open-mindedness; chaotic, confused, vulnerability, to inform yourself. Think for yourself. Question authority. |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 15.06.2025 - 09:08 |