Jump to content

PHP - Creating DB


hola

Recommended Posts

48h0413.jpg

 

i have a form with textbox default value='10', i want to add to database, and changes made on this page will update into database.

 

this is my form field

 

<input type='text' size='1' name='$i' value='10' />

 

$i is for loop that prints outs textbox

 

What column do i create in mysql db and how do i assign the each value of textbox ?

 

for example if i create table example...

 

Create example(date date, qty int);

 

how do i insert each textbox value and each day date into database?

Link to comment
https://forums.phpfreaks.com/topic/47325-php-creating-db/
Share on other sites

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.