0

i hvae some problems in my little project , really guys , i need your help , i must return it to my framer this friday

my little project (php+sql) is about sport's calender , when people save the informationns of theirs sport's session ( each session contain more than one activitie like conveyor belt , bike ...) i began by login and signin form , after that i began by creating interface where people save their sessions and activities so i created first form where people fill in the session's informations including the number of the activities in this session and when he click on save session a select form should be appear to chose the type of the activitie , after chosing a form should be appear to fill in the activitie's informations but my problem is if th session contain for example 3 activities , the code still work just like i have 1 activitie ( because i appera just 1 select form and 1 form , where it must appear the number of the activities * select form and each activities have his own informtion ) and the other problem is the relation between table session and table activities in Sql database really guys , i need your help , i must return the project to my framer this friday the code : https://code.sololearn.com/WA5a2370A16a/#

28th Jul 2021, 8:41 AM
Ramzi Jebalia
Ramzi Jebalia - avatar
1 Answer
0
If you have multiple sessions you need to keep a counter and reshow the form the number of sessions Or you have an empty list where sessions can be included and after that you submit the form and save all data at once
29th Jul 2021, 8:06 AM
Nico Ruder
Nico Ruder - avatar