Salut.

Am urmatorul cod:
Cod:
SELECT sid, title FROM stories WHERE catid='$catid' ORDER BY sid DESC LIMIT 0,5
As vrea sa pun la LIMIT o variabila, astfel incat sa am
Cod:
SELECT sid, title FROM stories WHERE catid='$catid' ORDER BY sid DESC LIMIT $variabila,5
Din pacate nu functioneaza. Din cate am gasit pe net se pare ca MySQL nu suporta adaugarea unei variabile in acest loc. Mi se pare totusi greu de crezut.


Mihai