Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
337 views
in Q2A Core by
Hi There

I'm not very good with databse queries :(< sad face.

What would be the fastest way to pull information for a single question from the database, the same information you would find in the list of questions on Q2A front page that links the questions ?

Would really preciate it if someone could show me the code for that :).

1 Answer

0 votes
by
 
Best answer
require_once QA_INCLUDE_DIR.'qa-db-selects.php';
$post=qa_db_single_select(qa_db_full_post_selectspec(null,$postid));
by
:O Thankyou so much Noah,
I haven't tested it yet, I managed to load the content on to a flash movie for each slug.
I'm certain this is a very usefull bit of sql for many users thou.
sorry about before!, Peace bortha XD.
by
no problem, we are all in it together :)
...