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.
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.
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 ...
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.
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.
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
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 :(
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?
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
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.
$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
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..
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
great love from lidhar states
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🙏🏻👍🏻
Thanks bro this awesome 😁
Please when I click save data button, the data not save in my msql and redirect to insertcode.php page
Tq so much sir 🙏🙏🙏🙏
Thanks for sharing, it is great!
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?
great tutorial thank you 🥰
hello a query, how are you valid if the user already exists in the database?
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 explanation! Very usefull video
18:39 Boom!! Thx!
great tutorial, thank you! it helps a lot 😁
Thanks a lot for this tutorial. But alert() cannot works when i save button click............
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
my modal popup window doesn't occur when i click on button please help me
I can't work close button in poppup windows
Very nice boos
i need help in project when i click button it dosen't popup window. can you help me please.
Thanks A lot Sir, God bless you
Great Video ! Thanks Man
Why alert in js not function?
great video; thanks for uploading this. One small correction: this is not a "modEl" it's a modAl as in "mo-dal".
when i insert more than 20 records in database it shows error, how can I fix this?
why only one of the modal get the id from the table please reply
need help
Good video but why at the end the script did not run and alert('Data saved')?
Hi please help my local host saya data not saved what could be the problem?
great job but the edit does not work on the second page of datatables
thanks you
good
how can i add a validation sir
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 ...
sir thanx for your good and brief tutorial please update us with coming technology in jsp and java area tutorial
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
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 :
This is working. When I do this it always shows as 0 in the database
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.
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)
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
What editor did u use sir?
VS Code
Is your ID is primary key also
Yes primary and auto increment.
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 ?
I followed the same tutorial. but the data is not entered into the database. no error message. please help me
sameee.
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
bro how to do this task in PHP 7 version
thank you sir :) but the problem now is the datatable is not working, it always 1 entries even though it has 5 entries
Could you please share the video on how to configure the myphpadmin?
Install xampp, it would help 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.
@@pandurangpnaik2701 u da best! thanks a lot!
@@pandurangpnaik2701 it still does not work for me
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.
Can you include source code in description?
how we can show large amount of data in table
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
Good why mine is Data Not Saved..
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
you are showing only 4 columns but if we have 10 columns then how to show
Can I have source code of this?
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 :))
can you please share all your source code?
Challenge: Count the number of times he said "Ok".
not working
Localhost says data not saved anyone?
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?
Hello! Please the source code
OK...
add validation
thanks, can you upload the source code please
ok
Youre not preparing SQL statements. Thats unsecure
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
thank you
Thanks A lot Sir, God bless you
thank you