+ 2

How to insert values into mysql from php using html forms?

Should the names in html and the field name in table be the same? Can you explain with simple example?

20th Sep 2018, 6:25 PM
S.Vidhya
S.Vidhya - avatar
4 Answers
+ 1
No, it doesn't have to be the same. Try this: INSERT INTO tablename (columnname1, columnname2) VALUES ($value1, $value2);
21st Sep 2018, 12:26 AM
N00B
+ 4
It's a long process to insert data to mysql and no one can show you a code from here due to limitations.
20th Sep 2018, 10:23 PM
Email Not Activated
+ 2
✓Pratice on PHP and Sql queries ✓You need to understand Database first
20th Sep 2018, 7:41 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
Okay Thank you
24th Sep 2018, 4:09 PM
S.Vidhya
S.Vidhya - avatar