:: Forum >>

no data found

my script returns this "no data found"

the source is

// grid object name
$name = "obj";

$sql_vistaLlamadas = "select * from llamadas";
$link = mysql_connect("localhost", "user", "pass") or die("conexion rechazada");
mysql_select_db("database", $link) or die("rechazada");
$row_vistaLlamadas= mysql_fetch_array($resultado_vistaLlamadas);

// add grid to the page
echo activewidgets_grid($name, $row_vistaLlamadas);
Thursday, June 23, 2005
Tony, grid accepts the resultset , not an array.

echo activewidgets_grid($name, $resultado_vistaLlamadas);

will work

Friday, June 24, 2005

This topic is archived.

Back to support forum

Forum search