This topic is locked
[SOLVED]

 How to Add Multiple Records Selected on the List Page

6/3/2019 12:13:53 PM
PHPRunner General questions
ruzgarajans author

Hi,

How to Add Multiple Records Selected on the List Page?
if it is possible to update,

How to add records..

thank you.

lefty 6/3/2019



Hi,

How to Add Multiple Records Selected on the List Page?
if it is possible to update,

How to add records..

thank you.



Your screenshot URl is broken . Please update . Are you looking for how to edit selected records on the list page? If so Click Here or update selected Click Here . If none of these links are what you are looking for please provide a correct screenshot url of your image.

ruzgarajans author 6/3/2019

Hi,
I did a few attempts and found this sample code.

I want multiple selection via list page

and,

should be added to another table.....

Multiple Records Selected on the List Page

not update , an add

not:

worked several times

......

but my licensed program is broken

.......

breakdown repair.

while($record = $button->getNextSelectedRecord())

{

$sql = ("INSERT INTO donemsel_ik (id_insan_kaynaklari) values ('".($record["idinsan_kaynaklari"])."')");

CustomQuery($sql);

}

$result["txt"] = $params["txt"]." GÖNDERİM BAŞARILI";

// Put your code here.



multiple field;

while($record = $button->getNextSelectedRecord())

{

$sql = ("INSERT INTO donemsel_ik (id_insan_kaynaklari, donemi, ckys_kodu, yerleske_id, yerleske_grubu_id, mesleki_unvan_kategori_id, personel_sayisi, mesleki_unvan_id, aktif_pasif) values

('".($record["idinsan_kaynaklari"])."','".($record["donemi"])."','".($record["ckys_kodu"])."','".($record["yerleske_id"])."','".($record["yerleske_grubu_id"])."','".($record["mesleki_unvan_kategori_id"])."','".($record["personel_sayisi"])."','".($record["mesleki_unvan_id"])."','".($record["aktif_pasif"])."')

");

CustomQuery($sql);
}

$result["txt"] = $params["txt"]." GÖNDERİM BAŞARILI";
// Put your code here.


https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=87894&image=1&table=forumreplies