Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
642 views
in Q2A Core by
'<A HREF=" ' .$question['url']. ' ">' .$question['title']. '<span class="toolip"> <p> ' .$question['title']. '</p></span>  </A>'

i want to replace question title in span attribute to question content ,

how can i do this , what is function to extract content of question

2 Answers

0 votes
by

'<A HREF=" ' .$question['url']. ' ">' .$question['title']. '<span class="toolip"> <p> ' .$question['content']. '</p></span>  </A>'

Maybe that?

Or:

'<A HREF=" ' .$question['url']. ' ">' .$question['title']. '<span class="toolip"> <p> ' .qa_html($text). '</p></span>  </A>'

 

by
my friend i have already tried both cases , result for both cases error

suggest something different
thanks for your effort
by
Maybe use:

$q_view['content']
0 votes
by
I'm afraid the question content isn't available at that point, since it has not been retrieved from the database.

Assuming you're using one of the varieties of version 1.4, the plugin called "Mouseover Layer" will take care of this for you - access it from the 'Admin' panel.
by
can you please tell me how to retrive question content from database ,
i want to use it in the main page.
...