Tema: Warning pq
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/02/2009, 13:18
majony
(Desactivado)
 
Fecha de Ingreso: diciembre-2008
Mensajes: 421
Antigüedad: 16 años, 3 meses
Puntos: 0
Warning pq

Hola estoy haciendo esto

<?php include('databaseConnection.php');

$getSettings = mysql_query("SELECT * FROM settings WHERE id='1' LIMIT 1", $conn);
if($getSettings)
{
extract(mysql_fetch_array($getSettings), EXTR_PREFIX_ALL, 's');
$dayColor = $s_dayColor;
$weekendColor = $s_weekendColor;
$todayColor = $s_todayColor;
$eventColor = $s_eventColor;
$iteratorColor1 = $s_iteratorColor1;
$iteratorColor2 = $s_iteratorColor2; }
else {
die("Could not get settings.");

}?>

y me sale este error no se pq
Warning: extract() [function.extract]: First argument should be an array in