Get ready for BLACK FRIDAY shopping starting in

Forums

PHP

This topic is locked

Multiple record insert with listbox selection

Posted 02 Mar 2004 13:28:27
1
has voted
02 Mar 2004 13:28:27 gmgm gmgm posted:
Hi,
is there any PHP/MySQL tutorial about the possibility to insert multiple records into a table selecting the values (one or more) from one listbox (static or dynamic)?
Thank you all!

Replies

Replied 04 Mar 2004 10:36:43
04 Mar 2004 10:36:43 gmgm gmgm replied:
Hi All,
I would like to explain what I mean in my request.
I have two MySQL tables named SLOT (with COD and DESC fields) and COMPONENT (with COD_C, DES_C and COD_S fields) . I use Dreamweaver to generate an Insert Form for SLOT and a second one for COMPONENT . In the second form I want to insert one or more SLOT.COD values into COMPONENT.COD_S field using a single or multiple selection in a listbox generated with a query (SELECT *) on the field SLOT.COD.

I've tried to search this forum but there are a lot of solution for ASP but non one for PHP.

Is there anyone could help me to solve the problem?

I am a PHP beginner but I would like to use it instead of ASP.

Thank you in advance.

Reply to this topic