thx bro , God Bless you , from PAKISTAN . ONE of best tutorial i have found on youtube . thanks you for providing us best tutorials palylist. i learn a lot of thing as a beginner level designer.
you did a really gret job, i understand this immedietly. but can i ask a question? can i save or add data to different table? do i use join for that? thankyou
brother , I tried this for last few days. I cant insert data . dont have any clue where have done mistake can you help please . I am very interested to learn more of this series ...
hello if i may ask i have been trying to complete my registration form using this as a basis however everytime I enter a registry entry it always goes to else i tried reversing it however it does not work how do i do this?
$query = "INSERT INTO news (`ntitle`,`nslug`,`ndescription`) VALUES ('$newstitle','$newsslug','$newsdescription')"; use ` `(available below esc key) commas for presenting database fields this will solve your problem.
JIC anyone runs into the same problem as me that you have 'DATA NOT SAVED' message popping up and nothing is written into the DB, here's one possible solution - remove the quotes around field names in the INSERT statement. Also, redirecting wasn't working for me before I removed the 'DATA SAVED' alert.
Great video. I followed your videos. Till, everything worked well. But when I tried this video, It shows "Data Not Saved" or blank page and when I checked on phpmyadmin page, data didn't get save. Please upload a video, what to do when we face such problems.. Thank You..
I guess I'm not the only one experiencing the error where you can't store data in the database. It always says "update failed". What to to do with this error ? Thanks :)
$query = "INSERT INTO news (`ntitle`,`nslug`,`ndescription`) VALUES ('$newstitle','$newsslug','$newsdescription')"; use ` `(available below esc key) commas for presenting database fields this will solve your problem.
when I click on submit button localhost says "data not saved" can you please suggest any solution I also tried with echo data and its working but still, it's not going into the database. Do you think is there any problem with my database?
after i followed these steps, when i fill up the form on the webpage, it can't be added either insert doesn't work for me (i inserted the database), neither codes work are different. please fix this solution aside this. About the mysql, i proceed it correctly on php, but the mysql doesn't(either using xampp or wampserver). help this problem. ty :(
sou o único que não conseguiu fazer? quando crio conta não aparece na DB, não sei se errei o codigo php, ou se errei no cadastro do DB, mais não acho o erro. :( Am I the only one who could not do it? when I create account it does not appear in DB, I do not know if I ran the php code, or if I made a mistake in the database of DB, I do not think the error. :(
$query = "INSERT INTO news (`ntitle`,`nslug`,`ndescription`) VALUES ('$newstitle','$newsslug','$newsdescription')"; use ` `(available below esc key) commas for presenting database fields this will solve your problem.
Hey, what I did to get my code to work was not declare variables. I just added them in the query statement like below: $query = "INSERT INTO products (productName, productDescription, productQuantity, productImage) VALUES ('".$_POST["product_name"]."', '".$_POST["product_description"]."', '".$_POST["product_qty"]."', '".$_POST["customFile"]."')"; What I changed as well was add everything in the isset(). See below Hope that helps Source: www.tutorialspoint.com/mysqli/mysqli_insert_query.htm
$query = "INSERT INTO news (`ntitle`,`nslug`,`ndescription`) VALUES ('$newstitle','$newsslug','$newsdescription')"; use ` `(available below esc key) commas for presenting database fields this will solve your problem.
me pueden ayudar... cuando presiono submit en el modal me dice que la página no se encuentra. pueden pasarme un correo así les paso el código y me dicen donde está el error
@@fundaofwebit can you help me ... when I press submit in the modal it tells me that the page is missing. can pass me an email so I pass the code and they tell me where the error is
It makes the people understand.. Every line I do code and tell ok... Just try once.. Start with OK.. Then they wil understand ur concept very well.. Ok?
thx bro , God Bless you , from PAKISTAN . ONE of best tutorial i have found on youtube . thanks you for providing us best tutorials palylist. i learn a lot of thing as a beginner level designer.
God bless you. I have learnt so so so much from your simple way of teaching.
Hi ! You are a great teacher ! Congratulations from Brazil !
thx bro , God Bless you , From Thailand
CEO of 'ok' anyways thanks for the help sir :D
Thanks! You save my time a lot :-) cuz I struggle with inserting data from modal LOL
thank so muchhhh💕this video have explained how the code run, it help me🙏🏻👍🏻
great love from lidhar states
Excellent work, one small thing : the alert doesn't work because the redirection is quicker than your alert ;)
i noticed that, but how do we make it work?
great video; thanks for uploading this. One small correction: this is not a "modEl" it's a modAl as in "mo-dal".
great tutorial thank you 🥰
Great explanation! Very usefull video
Very nice boos
Thanks bro this awesome 😁
great tutorial, thank you! it helps a lot 😁
Tq so much sir 🙏🙏🙏🙏
you did a really gret job, i understand this immedietly. but can i ask a question? can i save or add data to different table? do i use join for that? thankyou
(2)
Good video but why at the end the script did not run and alert('Data saved')?
Thanks for sharing, it is great!
brother , I tried this for last few days. I cant insert data . dont have any clue where have done mistake
can you help please . I am very interested to learn more of this series ...
Thanks A lot Sir, God bless you
hello if i may ask i have been trying to complete my registration form using this as a basis however everytime I enter a registry entry it always goes to else i tried reversing it however it does not work how do i do this?
18:39 Boom!! Thx!
This is working. When I do this it always shows as 0 in the database
hello a query, how are you valid if the user already exists in the database?
Its always says data not saved . I have no error in the insertcodedata . What to do?
I also have same problem, what to do?
$query = "INSERT INTO news (`ntitle`,`nslug`,`ndescription`) VALUES ('$newstitle','$newsslug','$newsdescription')";
use ` `(available below esc key) commas for presenting database fields this will solve your problem.
see carefully commas they are different
@@pandurangpnaik2701 its work for me
sir thanx for your good and brief tutorial please update us with coming technology in jsp and java area tutorial
Please when I click save data button, the data not save in my msql and redirect to insertcode.php page
Thanks a lot for this tutorial. But alert() cannot works when i save button click............
thank you sir :) but the problem now is the datatable is not working, it always 1 entries even though it has 5 entries
Why alert in js not function?
great job but the edit does not work on the second page of datatables
my modal popup window doesn't occur when i click on button please help me
Nice dude i was trying it for the whole day , my fault was that i was not placing the form tag outside the model
Subscribe him :))
good
JIC anyone runs into the same problem as me that you have 'DATA NOT SAVED' message popping up and nothing is written into the DB, here's one possible solution - remove the quotes around field names in the INSERT statement. Also, redirecting wasn't working for me before I removed the 'DATA SAVED' alert.
Thank you so much @Raimonds Liepins
Can you include source code in description?
Great video. I followed your videos. Till, everything worked well. But when I tried this video, It shows "Data Not Saved" or blank page and when I checked on phpmyadmin page, data didn't get save. Please upload a video, what to do when we face such problems.. Thank You..
Have u solved it?
@@jonaldlopez6226 hi i have the same problem, can you help me?
i need help in project when i click button it dosen't popup window. can you help me please.
I can't work close button in poppup windows
when i insert more than 20 records in database it shows error, how can I fix this?
thanks you
why only one of the modal get the id from the table please reply
need help
how can i add a validation sir
Great Video ! Thanks Man
Hi please help my local host saya data not saved what could be the problem?
I guess I'm not the only one experiencing the error where you can't store data in the database. It always says "update failed". What to to do with this error ? Thanks :)
$query = "INSERT INTO news (`ntitle`,`nslug`,`ndescription`) VALUES ('$newstitle','$newsslug','$newsdescription')";
use ` `(available below esc key) commas for presenting database fields this will solve your problem.
@@pandurangpnaik2701 u da best! thanks a lot!
@@pandurangpnaik2701 it still does not work for me
What editor did u use sir?
VS Code
I followed the same tutorial. but the data is not entered into the database. no error message. please help me
sameee.
you are showing only 4 columns but if we have 10 columns then how to show
when I click on submit button localhost says "data not saved" can you please suggest any solution
I also tried with echo data and its working but still, it's not going into the database. Do you think is there any problem with my database?
hi do u have the solution for this ?
after i followed these steps, when i fill up the form on the webpage, it can't be added either insert doesn't work for me (i inserted the database), neither codes work are different. please fix this solution aside this. About the mysql, i proceed it correctly on php, but the mysql doesn't(either using xampp or wampserver). help this problem. ty :(
same
bro how to do this task in PHP 7 version
Challenge: Count the number of times he said "Ok".
Could you please share the video on how to configure the myphpadmin?
Install xampp, it would help you
sou o único que não conseguiu fazer? quando crio conta não aparece na DB,
não sei se errei o codigo php, ou se errei no cadastro do DB, mais não acho o erro. :(
Am I the only one who could not do it? when I create account it does not appear in DB,
I do not know if I ran the php code, or if I made a mistake in the database of DB, I do not think the error. :(
Também não consigo fazer, podem ajudar-me?
@@fundaofwebit I get this exact same error :
how we can show large amount of data in table
I cant insert data in database. Can you plz help.
$query = "INSERT INTO news (`ntitle`,`nslug`,`ndescription`) VALUES ('$newstitle','$newsslug','$newsdescription')";
use ` `(available below esc key) commas for presenting database fields this will solve your problem.
When I click the button save it shows localhost says Data Not Saved
I have no error in code 🙁🙁 pls answer
Echo or dump ur $query n check all the data are coming..
Thn.. proceed with mysqli_query()
Can ur show in another tutorial sir,please answer
Hey, what I did to get my code to work was not declare variables. I just added them in the query statement like below:
$query = "INSERT INTO products (productName, productDescription, productQuantity, productImage) VALUES ('".$_POST["product_name"]."', '".$_POST["product_description"]."', '".$_POST["product_qty"]."', '".$_POST["customFile"]."')";
What I changed as well was add everything in the isset(). See below
Hope that helps
Source: www.tutorialspoint.com/mysqli/mysqli_insert_query.htm
Is your ID is primary key also
Yes primary and auto increment.
why do i get this error for all the fields-- Notice: Undefined index: fname in C:\xampp\htdocs\phpcrud\insert.php on line 13
$query = "INSERT INTO news (`ntitle`,`nslug`,`ndescription`) VALUES ('$newstitle','$newsslug','$newsdescription')";
use ` `(available below esc key) commas for presenting database fields this will solve your problem.
Good why mine is Data Not Saved..
can you please share all your source code?
Can I have source code of this?
There is no response from the button when i click on it, also the data dose'nt get stored in the db
must be JS, check if you are running js from local or url
@@davinunesvit i am running it from the URL
same problem, no body helps
@@joseluiscuevastorres6156 i have actually figured those things out, let me know if you are stuck somewhere
@@swapnilundage6676 please show us the way
me pueden ayudar... cuando presiono submit en el modal me dice que la página no se encuentra. pueden pasarme un correo así les paso el código y me dicen donde está el error
Please translate in English.
@@fundaofwebit
can you help me ... when I press submit in the modal it tells me that the page is missing. can pass me an email so I pass the code and they tell me where the error is
not working
add validation
Localhost says data not saved anyone?
Hello! Please the source code
thanks, can you upload the source code please
Youre not preparing SQL statements. Thats unsecure
OK...
ok
Ok
why u always say ""OK"
It makes the people understand.. Every line I do code and tell ok...
Just try once.. Start with OK.. Then they wil understand ur concept very well.. Ok?
Ok
Stop saying OKAY every goddamn sentence :D
Thanks A lot Sir, God bless you
thank you
thank you