:: Forum >>

Editable and delete row in grid

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

// SQL query
$query = "select * from `xxx`.`bu_group1`";

// database connection
$connection = mysql_connect("abcd", "root", "xyz");
mysql_select_db("xxx");

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


echo activewidgets_grid($name, $data);


from the above script how to edit and delete a row
array
Friday, March 4, 2005
For deletion of fields use the field names instead of * in the query

For edition update the query with IF statement to replace the field value to your desired value.

hope it helps.

Ramesh
Ramesh CV
Friday, March 4, 2005

This topic is archived.


Back to support forum

Forum search