zegcrewz Posted October 15, 2012 Share Posted October 15, 2012 hai guy....i'm newbie here. i have problem with my php. i want to add sub activity into database but the sub activity that i want to add don't work. also i want to display my sub activity like below activity | edit | add sub | delete | ----------------------------------------------------------- 1. Oracle -> SQL so, the SQL is sub activity for oracle activity. how can i do that. tqvm for helping me. aktiviti.php daftar_subaktiviti_baru.php selesaisub.php Link to comment https://forums.phpfreaks.com/topic/269469-sub-activity-into-main-activity/ Share on other sites More sharing options...
Barand Posted October 15, 2012 Share Posted October 15, 2012 easiest way is to store parent actvity eg +----------+--------------+-------------------+ | ID | PARENT_ID | ACTIVITY +----------+--------------+-------------------+ | 1 | 0 | oracle | 2 | 1 | sql (I hate this editor!) Link to comment https://forums.phpfreaks.com/topic/269469-sub-activity-into-main-activity/#findComment-1385282 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.