Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Community Cafe
Reply
Thread Tools
  #1  
Old 24th November 2011, 20:35
it53lv's Avatar
it53lv it53lv is offline
Senior Member
 
Join Date: Feb 2011
Latvia
Posts: 134
Default 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');
type_id default value is 1

problem is ORDER BY order_id ASC gets ignored because of type_id function
so what i' m doing wrong with this ?
Reply With Quote
Reply

Tags
wrong


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 09:02. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.