Well, I would like to know how to pull the information from array
from my database, it follows how it is in my database:
Insummary,I'dliketoknowhowtoextractthisinformation:{'pt'=>'HolidayPromotion','en'=>'VacationPromotion'}atthetimeofpassingPHP.
Codeyouwereusingtoextractfromthedatabase:
$stm=$DB->readDB('news','WHEREFeatured="yes" ORDER BY ID, RAND() DESC LIMIT 1');
foreach ($stm as $key) {
$title = eval($key['Title'][0]);
$url = $Translate->set('href')['news'].'loja/'.$key['ID'].'-'.$Modulo->tirarAcentos($title, true);
Code you were using to save to the database:
$stm = $DB->createDB('news', 'Title, SubTitle, Category, Message, Featured', '"{'.U_LANG.':'.$title.'}", "{'.U_LANG.':'.$subtitle.'}", $category, $message, "yes"');
return $stm;