The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
What's Wrong With My Code?
Can someone explain what I'm doing wrong?
PHP Code:
What's wrong with my code? |
#2
|
||||
|
||||
What error do you get?
|
#3
|
|||
|
|||
No error, it's just not exporting anything in the template for "$entry[tags]"
Do I need a while statement somewhere? |
#4
|
||||
|
||||
I edited your code for testing purposes, and it seems to be working for me this way. So if $entry['tags'] really holds the expected content, it should work.
PHP Code:
|
#5
|
|||
|
|||
$entry['tags'] has some "null" data ... would that cause a problem?
PHP Code:
should i be doing a "query" instead -- and then grabbing the data out of the array a different way? |
#6
|
||||
|
||||
Your script expects $entry['tags'] to hold a string, with comma separated values. Can you post an example of what $entry['tags'] holds?
|
#7
|
|||
|
|||
Some examples:
random, staff, inside random drew NULL Quote:
PHP Code:
Edit: Do I need to somehow add "commas" to the end of the other values? I am so lost.. Someone, please help. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|