Forums

PHP

This topic is locked

Insert multiple items from menu/list

Posted 25 Sep 2006 19:05:13
1
has voted
25 Sep 2006 19:05:13 Afonso Marques posted:
Hi guys,
I have 3 tables like the following:

Table 1:
- ships_list
---> id_ship
---> ship_name

Table 2:
- captains_list
---> id_captain
---> captain_name

Table 3:
- trips_list
---> id_trip
---> id_captain
---> id_ship

I tried to insert multiple items into trips_list table from a captain menu/list which has captains_list contents and a ship menu/list which has ships_list contents and is set as 'Allow Multiple' into trips_list table but it only inserts one of them.
I've just managed to read from pre-defined trips_list table and fetch the correspondent values from the captains_list and ships_list but I still need to insert them from a webpage.
What can I do to solve this?´~
Thanks in advance.

Replies

Replied 26 Sep 2006 19:00:45
26 Sep 2006 19:00:45 Afonso Marques replied:
Just solved the problem.
Take a look at this article:

list/menu Insert Record form question?

in DreamweaverMX forum.

Reply to this topic