Adding an array in a SQL query
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #5
RE: Adding an array in a SQL query
The value of the number of downloads for a file. They are called fupload and are in the xtattachments as downloads. I would like to get the value of the downloads...

Here is a screenshot.

So in the table below, if there were 3 downloads of a certain file from a certain thread  then the number 3 would show in the downloads column for that thread.

EDIT - OMG I got it to work....my first plugin. I am so PROUD Smile


Attached File(s) Thumbnail(s)
   


[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 11-02-2010 10:54 AM by leefish.)
11-02-2010 07:23 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Adding an array in a SQL query - leefish - 11-02-2010, 04:58 AM
RE: Adding an array in a SQL query - RateU - 11-02-2010, 05:42 AM
RE: Adding an array in a SQL query - RateU - 11-02-2010, 07:02 AM
RE: Adding an array in a SQL query - leefish - 11-02-2010 07:23 AM
RE: Adding an array in a SQL query - techu - 11-02-2010, 12:16 PM
RE: Adding an array in a SQL query - RateU - 11-03-2010, 07:31 AM

 Standard Tools
Forum Jump: