i'm having some problems in making a specific query:
I want to get all the fields where column = 'value' AND (id <= "number" AND id >="number")
is there a predefined statement to do this?
I am actually writing this:
Expand|Select|Wrap|Line Numbers
- "SELECT `id`, `".$url_var."` FROM `content` WHERE `".$index."` = '".$value."' AND `id` >= ".$_SESSION['idStart']." AND `id` <= ".$_SESSION['idEnd']." ORDER BY `id`"
Thankyou!