:: Forum >> Version 1 >>

I'm getting 'Active' is undefined

More information on this topic is available in the documentation section: /general.faq.debug/.

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
Tuesday, March 15, 2005
Check that the path to the .../grid.js script is correct.
Alex (ActiveWidgets)
Wednesday, March 16, 2005



This topic is archived.

Back to /general.faq.debug/

Documentation:

Forum search