What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Help with MySQL queries

Help with MySQL queries
Author: Message:
absorbation
Elite Member
*****

Avatar

Posts: 3636
Reputation: 81
– / Male / Flag
Joined: Feb 2005
O.P. Help with MySQL queries
OK, I use MySQL databases for everything when I use PHP, I never used .txt files and it is so easy to understand and learn. However, I really am limited on the actual syntax (not the PHP functions for it).

Below is an awful query and I want to know an easier and shorter way to do this query. Thank you :)

quote:
$result = mysql_query("select * from posts where fid='2' or fid='8' or fid='4' or fid='5' or fid='6' or fid='9' or fid='22' or fid='24' or fid='14' or fid='23' or fid='11' or fid='12' or fid='13' order by dateline desc limit 5");
08-23-2006 05:52 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Help with MySQL queries - by absorbation on 08-23-2006 at 05:52 PM
RE: Help with MySQL queries - by Ezra on 08-23-2006 at 06:07 PM
RE: Help with MySQL queries - by RaceProUK on 08-24-2006 at 12:12 PM
RE: Help with MySQL queries - by absorbation on 08-24-2006 at 12:14 PM
RE: Help with MySQL queries - by RaceProUK on 08-24-2006 at 02:27 PM
RE: Help with MySQL queries - by absorbation on 08-24-2006 at 03:21 PM
RE: Help with MySQL queries - by RaceProUK on 08-25-2006 at 10:11 AM
RE: Help with MySQL queries - by surfichris on 08-25-2006 at 10:22 AM
RE: Help with MySQL queries - by RaceProUK on 08-25-2006 at 10:46 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On