php - Making multiple selections and storing them -


since explaining problem/question pretty difficult, explain steps user have take in order more clear.

1) user shown list songs/movies/. information gathered means of api key.

2) out of list, user can select multiple items.

3) every item has unique "cdbid" needs stored in database user id.


i have tried lot of things have gotten nowhere, php code i'm using ul:

<?php      if($events)     {         echo "<form class='eventlist' data-role='listview'>";         foreach ($events $eventkey => $event) {             echo "<input class='evenementen' type='checkbox' value='".$event->cdbid."' style='background-image:url(".$event->thumbnail.")'>".$event->title."</input>";         }         echo "</form>";     }  ?> 

i have been racking brain on issue days now. welcome!


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

qt - Errors in generated MOC files for QT5 from cmake -