:: Forum >>

mysql table editable

hi, any1 know how to make the following aw gtid editable..


<html>

<head>
<title>Free Hardware :: PHP Example</title>
    <style> body, html {margin:0px; padding: 0px; overflow: hidden;font: menu;border: none;} </style>

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

    <!-- ActiveWidgets PHP functions -->
    <?php include("activewidgets.php") ?>
</head>

<body>


<?php


include 'dbconnect.php';



$name = "obj";

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

// database connection
$connection = mysql_connect("127.0.0.1", "root", "123456");
mysql_select_db("test");

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

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

?>




</body>

</html>


thanks....
codefreek
Wednesday, August 24, 2005
dnmes has a good idea, but it don't solve my problem. How can I get some variable from JS to use it in my PHP? I have to get some text from form by JS, use that text in php variable. dnmes's code only prints JS code in php, it is not getting JS value into php variable.
Goro
Tuesday, April 18, 2006

This topic is archived.


Back to support forum

Forum search