Special PopUp in PHP List Plugin

d.bergonzi

Member
Hi all!
I hope it is simple to accomplish what I ask .....

When I click the button to activate the code php content PhPListPlugin I need to change the value of a column for all records.
and so far no problem .... but only if the value is a constant devinita in php code ...... for example:

....
$var = 'HELLO';
....
....
foreach ($ ids AS $ id) {
$ update = "UPDATE table_name September field = '". $var. '' WHERE id = ". (int) $ id;
$ stmt = $ db-> prepare ($ update);
$ stmt-> execute ();
}
....
....


I would need to open a pop-up where you can enter the value manually in $var, and then pass this value to all fields of records.


is it possible? o_O
 
WOW! :)
It would be perfect ..... if only I could prevent the user to change some columns ... and not all those that appear in the list.
Foe example....The list contains 20 columns. But I would like to enable the change only three columns.....
 
nothing ....:(
As far as I understand, this plugin does not allow me to limit the choice of the column to change.
In this way the user can change the value of any column.

have any suggestions?o_O.......
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top