The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]() PHP Code:
![]() |
#2
|
||||
|
||||
![]()
If it's 0, it won't. Try echoing $latestconfessions_info_text + "Test". If that works, you'll know your text isn't getting set.
|
#3
|
||||
|
||||
![]()
i tried that and it never worked, yet i know the text is there as i can get it via the query, i'm not quite sure where i've gone wrong from doing the query to trying to echo it out as it seems to be getting lost.
|
#4
|
|||
|
|||
![]()
You don't need to fetch the array after calling the function "$DB_site->query_first()". query_first already returns an array of the first row of the result.
So try removing Code:
$latestconfession_info = $DB_site->fetch_array($latestconfession); |
#5
|
||||
|
||||
![]()
Check that this whole thing is not in an if or while clause that's not being executed.
Do you have a template siteindex_confessions? (ok, rather basic question, but spelling errors can happen ![]() why do you call $latestconfession_info_text instead of just $latestconfession_info[text] ?? You might also want to take away those ""'s |
#6
|
||||
|
||||
![]()
thanks both of you, the working code is now
PHP Code:
|
#7
|
|||
|
|||
![]()
great to see
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|