Current location: Hot Scripts Forums » Programming Languages » PHP » sql statement


sql statement

Reply
  #1 (permalink)  
Old 11-05-11, 11:34 AM
williamh26 williamh26 is offline
Wannabe Coder
 
Join Date: Jul 2010
Posts: 132
Thanks: 2
Thanked 0 Times in 0 Posts
sql statement

hi guys thanks for all your help... it is possible to have the where and order by... sql statements mixed together?? I CANT HAVE THIS TO WORK...
PHP Code:

  $query "SELECT  question, quest_id, video from questions WHERE sub_id=$sub_id  ORDER BY questions ASC LIMIT $offset,$recordsperpage"
ANY HELP APPRECIATE... THANKS
Reply With Quote
  #2 (permalink)  
Old 11-05-11, 11:37 AM
williamh26 williamh26 is offline
Wannabe Coder
 
Join Date: Jul 2010
Posts: 132
Thanks: 2
Thanked 0 Times in 0 Posts
i GOT IT ... THANKS ANYWAYS
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL statement zoliky Database 2 05-03-07 09:42 AM
SQL Statement select everything that is true? minority ASP 9 07-20-05 07:32 AM
SQL Statement Ajtessin ASP 2 03-26-04 04:02 AM
Help with ASP & FORMS blessedrub ASP 0 01-23-04 10:22 AM
change my field in this example sal21 ASP 3 07-14-03 02:49 AM


All times are GMT -5. The time now is 08:53 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.