The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
nope, that is not possible and will produce an error
|
#12
|
|||
|
|||
Quote:
And I have tried with phpMyAdmin and it works as well. What do you mean by it would cause an error? FFMG |
#13
|
||||
|
||||
hmm, mysql is a bit lazy when handling grouping queries, normaly according to the sql standart that query should produce an errormessage as it's not possible to tell which information of which post should be selected
if it works, then ok, but that can change with new versions of mysql, that's why i wouldn't code it that way. |
#14
|
|||
|
|||
Code:
$posts = $db->query_read("SELECT * FROM post INNER JOIN thread USING(threadid) ORDER BY post.dateline DESC LIMIT 3"); while ($posts = $db->fetch_array($posts)) { echo $posts['title']; } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|