3.2.0

I'm getting 'Active' is undefined

here is my code below:-
<html>
<head>
<title>ActiveWidgets Grid :: PHP Example</title>
<style> body, html {margin:0px; padding: 0px; overflow: hidden;font: menu;border: none;} </style>

<!-- ActiveWidgets stylesheet and scripts -->
<link href="C:/Utilities/ActiveWidgets/runtime/styles/xp/grid.css" rel="stylesheet" type="text/css" ></link>
<script src="c:/Utilities/runtime/lib/grid.js"></script>

<!-- ActiveWidgets PHP functions -->
<?php include("C:\Utilities\ActiveWidgets\examples\php\activewidgets.php") ?>

</head>
<body>

<?php

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

// SQL query
$query = "select * from `story_tbl` limit 0,20";

// database connection
$connection = mysql_connect("localhost", "puoo", "00000");
mysql_select_db("test");

// query results
$data = mysql_query($query, $connection);

// add grid to the page
echo activewidgets_grid($name, $data);

?>

</body>
</html>

when I execute this, I get error Active is undefined. Please help!

Jabu
March 15,
Check that the path to the .../grid.js script is correct.
Alex (ActiveWidgets)
March 16,

This topic is archived.

See also:


Back to support forum