How To Insert Form Value Into MYSQL Database using PHP | Mysql Inserting Data Into Tables
HTML-код
- Опубликовано: 27 фев 2020
- In this video will tech you about how To Insert Form Value Into MYSQL Database using PHP. will make you understand about php/mysql connection and how to use it.This video shows how to create HTML form and I'll show you how to create a database using PhpMyAdmin and connect to that database using PHP- mysqli also how to insert data into tables using php functions.
#MySqlTutorial #PhpLearn #MySqlForm
In this topi you will cover these topics -
How to insert Form Value Into MYSQL Database using PHP,
Mysql insert query,
Mysql Inserting Data Into Tables,
How to save forms value into database using php,
Php form value save into mysql,
How to insert input fields value into mysql database using php
Level of understanding. I am really thankful to u. I've got rid of many confusions because of your video
Thank you , I was making a mistake with my php/mySQL query and watching your video showed me the correct syntax.
It worked 100% and code is very simple to understand
Thank you very much. This was very helpful. You did a nice job of going step-by-step for those of us just learning.
Here's one positive comment for the algorithm!
Worked like a charm. Can't recommend this tutorial enough for beginners.
Millions of people wished to know this--You have explained very clearly and it is very useful.-Bakhshish Singh PUNJAB
Thanks to appreciation
Thank you soo much! because of this video I learn now how to do it manually! I can't thank you enoug but Hope your channel grow more! God Bless you!
plain and simple, thx for the video
excellent explaination very good madam not need to prepare again. thank you for providing us such wonderful video
The way you elaborate. It's awesome 😍
Thank you so much.Very useful video.
Thank you so much. You explained it clearly.
Thank you so much this video will never get old!
Thanks alot mam after alot of videos . I find your videos where I really run my form. Thanks a lot.
thank you very much
before i was stuck in an endless loop
Very good walkthrough and instruction. You summed this up in a way that gave me a much better understanding of how to accomplish this task. Thanks.
Only bots can write such an brief and good answer.
Thank you for this video.
❤❤
This worked, thanks!!!
Thank you. Explanation and tutorial are very good
Thank you for making me understand in a very simple way
Thank you so much, I've been having problems with this one but I got that now.
You are welcome
Good pace and good explanation,I like it!
Thank you very much this video is really usefull
You did a impressive job!!!
Great i like your way of teaching
I hope your pockets overflow with everything you desire thank you so much fr
nice video
heyy, thankyou so much. Very helpful piece of work congrats.😊😊😊
Thanks a lot
very good explained!
Thank you so much , it did really help me out a lot
Love You Mam....Thank You
Thank you!
Thank you very much ma'am
thank you so much..
Thanks a lot ❤️🔥👊
You are the best instruct whose tutorials I have watched. If you have a udemy course kindly share the link.😊😊
Thank you Very much
i love your voice
Thank you so much, saved my homework!
thank you so much mam...
Thank you so much ❤
thank you so much!
Thank you so much
thanks, teacher 😁
the best one
Thank you so much 🙏🙏🙏🙏
Would you mind letting us know which edit program you are using? Great video, REALLY appreciate it!
Thanku so much.... This video is very very helpful
You are welcome
Thank you so much.
You are welcome
I will subscribe when my project done
Not work in my computer
Not subscribed
thanks so much mein
Thank You
Thanks bro . May god bless u
sis*
thank you you save me
Thanks
Great tutorial, voice sound can be increased
ty
Thank You very much
You are welcome
superb
Thank you
i love u
This code works. Thank you ;)
You are welcome
Hello! Thank you for the great tutorial. But one question. Can i put all those 2 php codes in a single php file?
Yes you can put php codes in singe php file
Can we have more videos on php projects. I am working with xampp.
Thank you All my regards
Directly executing the else part...and printing all files required
Please tell us in which terminal you are coding?
THAAAAAAAAAAAAAAAAANKS
Thank you for this video! I have tried it, but I'm unsure why it's not working. In browser it returns the blank page on submit and in database it does not add any video.
$run=mysqli_query ($conn,$query) or die(mysqli_error()); this line shows excatly 1parameter, 0 given error how to solve it plz tell
check $query or $conn,maybe u get wrong like me at "insert to **your table name**(name,email...)"
check your data base be sure to change your id field into int and auto increment it
I face same problem.....can u solve it?
Fatal error: Uncaught ArgumentCountError: mysqli_error() expects exactly 1 argument, 0 given in C:\xampp\htdocs\Ecom\insert.php:26 Stack trace: #0 C:\xampp\htdocs\Ecom\insert.php(26): mysqli_error() #1 {main} thrown in C:\xampp\htdocs\Ecom\insert.php on line 26
here's my problem can someone help me
Thanks for the info but the intro music is too loud
I only want a submit button to confirm the text they read. After that I want it to send "confirmed" to the "submit" column in the database. How would I do this?
Can you tell us how to it in live server ?
how to senatize input data from code execution like mysqli and html javascript injection
Can you please upload the coad in githud please and share the link in description.
it says that mysqli_error needs exactly one argument and you didnt put any so i cant move on. What i have to do? It also says that need an argument type mysqli.
When i was reload the page after submit the form. The data resubmission alert is appear ,Please give me solution
hi..i had this problem Warning: mysqli_error() expects exactly 1 parameter, 0 ..i cant enter more than 1 data..how do i slove this? sorry im still new with this
idk why but my form is not submitting no matter how much i try my connection is successful but form is not submitting
what if you want to do it for two tables in the database?
You will need to run another query for second tables
you are working on both php files
not working for me, on line 12 the "{" is unexpected
How to do it in hostinger
can you put the code so we can check ours i'm having a problem with this i cant get the message i dont know why
ok, so everytime i hit submit i get "all fields required" although i have all fields filled in. any help?
Remove required tag from all inputs
showing all field required message and no data inputed code not workin
hey my form data is not displayed in database
Scary, I miss parsing out any malicious code in the input, this is ready for MySQL injection.
I write the same code but got a fatal error.
Why??
Can someone copy and paste the code into the comments. Mine keeps throwing errors and it's not saying why so IDK what I'm doing wrong.
My data is not getting inserted whenever i enter my data in the webpage the page refresh and doesn't spell "data submitted successfully"
Please help me out with it
same problem
@@lovelysingh3056 my problem resolved
How
@@lovelysingh3056 how will I explain here
pls help me it is showing all fields required pls help I wrote all the input form
Contact from wpshopmart.com I will help you there
Hello, i copied your code but I'm getting this error - Warning: mysqli_error() expects exactly 1 parameter, 0 given in C:\xampp\htdocs\Barangay\user.php on line 19 which is the $run = mysqli_query($conn,$query) or die(mysqli_error());
Can not to submit
Not working on line 12 unexpected &&
Pls help
Check brackets ( ), I somehow make the same mistake and solved it now.
mine not working, if i click submit then it goes to display the insert.php page, what could be the problem?
did you fixed the problem!
@@mounaar7299 yes thank you
how u fix it? facing the same problem.
blank page after submitting form php
same waiting on some assistance
Help please....
Uncaught Argument count error MYSQLI_ERROR()
for those who face the problem of not showing anything after submiting the form => try to restart both apache and MySQL , also try to check and rewrite the if statement which control the submission => if(isset($_P0ST['submit'])) .
there are some ridiculously easy-to-solve bugs like this but so infuriating.
i completed exactly same code.But this thing are showing.
mysqli_error() expects exactly 1 parameter, 0 given in C:\xampp\htdocs\test\insert.php on line 20
what should i do now
you must pass the connection object in the mysqli_error function: mysqli_query($conn, $query) or die(mysqli_error($conn));