|
#1
|
||||
|
||||
what im doing wrong ???
can anyone tell me why is this query wrong ???
Code:
$result = $DB->query ('SELECT * FROM ' . DB_PREFIX . 'categories WHERE type_id={$type_id} ORDER BY order_id ASC'); problem is ORDER BY order_id ASC gets ignored because of type_id function so what i' m doing wrong with this ? |
Tags |
wrong |
Thread Tools | |
|
|