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!
<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,