The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Okay, lets say I have a database table row result called "$service", inside of this row, there is a column called "svcTitle".
Right now the contents of $service['svcTitle'] is "$arr['media:group']['media:title']['value']". This is an XML request, and it returns the title in a YouTube video... which is "This is the title" The code below will output the following result: Code:
$title = $service['svcTitle']; echo $title; Quote:
But if I use this code instead, it will output the following instead: Code:
$title = $arr['media:group']['media:title']['value']; echo $title; Quote:
I'm trying to use the following, but I am getting an error instead: Code:
$title = $service['svcTitle'];
eval("\$title = \"$title\";");
echo $title;
Quote:
What am I doing wrong? |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|