Modifico la consulta a ver si algún valiente me puede responder como puedo hacer esto:
Tengo un fichero con un array y quiero hacerlo desde consulta mysql de forma que cuando cargue este fichero la consulta me recorra el array y se lo asigne a $GLOBALS['text']
ME URGE MUCHIISIMO POR FAVOR.
es.php
// Declare all text strings that we need, in English.
$GLOBALS['text'] = array (
'welcome' => 'Welcome to our website!',
'thanks' => 'Thank you for your patronage.',
'sky' => 'The sky is falling!',
'game' => 'Would you like to play a game?',
'switch' => 'Switch the language to:',
);
?>