Ver Mensaje Individual
  #1 (permalink)  
Antiguo 08/09/2008, 04:16
TECNILOCO
 
Fecha de Ingreso: septiembre-2004
Mensajes: 23
Antigüedad: 20 años
Puntos: 0
Variables y valor en tabla mysql

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:',
);
?>

Última edición por TECNILOCO; 08/09/2008 a las 12:53 Razón: NUEVO ENFOQUE DE LA CONSULTA YA QUE EL ANTERIOR NO ME LO CONTESTA