Jump to content

Sub-Activity Into Main Activity


zegcrewz

Recommended Posts

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

easiest way is to store parent actvity eg

+----------+--------------+-------------------+
| ID       | PARENT_ID    | ACTIVITY         
+----------+--------------+-------------------+
| 1        |     0        | oracle     
| 2        |     1        | sql       

 

(I hate this editor!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.