Jump to content

Insert a specific number of rows at once


mariusmotea

Recommended Posts

Hi.

I have a very serious problem. I’m noob in php, but so far i manage to resolv the problems myself. I have 3 fields in database: 1. ID (auto_increment) 2. Product and 3. Price.

I want a form that have three text area : product, price and number of products. I want that this form to insert in database the product and his price in multiple rows. The number of rows must be the number of products that was intorduced in form. I searched the internet several hours, but i don’t found anything similar.

I would really appreciate any kind of help.

 

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.