Update Data Using Jquery Ajax PHP And Mysql
HTML-код
- Опубликовано: 21 июл 2017
- In this video you will learn to update data in mysql using jquery and ajax without refreshing page. you can download source code from the link below
developer-zone.000webhostapp.c...
Or download direct from here
developer-zone.000webhostapp....
This is seriously amazing! I've been working off of old tutorials that teach clunky old ways of updating. I'm so grateful for this. Thank you!
Thank you so much, it really helps me! It's easy to understand and pretty clear tutorial
thanks :) keep up the good work. This helped me a lot
it's amazing, this helped me a lot. thanks :)
thank you. This helped me a lot. keep up the good work.
AMAZING! AMAZING! AMAZING! U HELP-ME SO MUCH! THANK U FRIEND!
This video really helps me a lot.. Thank you so much sir
this is the best ajax tutorial ever i seen
code hai to send kardo
Thankyou so much bro... I was stucked here from whole day tht how to show back the data to edit and u made it a piece of cake
Akash Sharma your welcome
im stucked in 1 week :)
LMAO
Thanks brother you are amazing ❤️❤️
Legend! Thanks!
Very cool, thanks a lot!
muito obrigado, conteúdo excelente!
it's worked .thanks brooooooo
I try your tutorial but values not display in the form fields when click on update button.just blink fields of form display. I do not know where the problem?
thanks for your help!
Good job !
thank you for sharing!
thanks bro, have a nice day
thank you so much!
Awesome tutorial! I know its a old post, but can you share the files in another link? its not working anymore.
Friend, thanks for these videos that are very good, a query please, I am new to this programming class and everything goes well however between the boxes that my form has I have a select that is related to another table that is in my base data and I do not know how to recover or show the data of that select.
I explain myself better I have two tables:
User with the fields: id, nombre, apellido, país_id(foreign key)
Pais with the fields: id, nombre
The problem is that I do not know how to display the name of the country that has a user in the user's edit window.
Thanks for the help
good job brother
Amazing Sir you have solved my Update problem
But Sir can you do this for Deleting Same data in delete modal ?
THANK YOU
Show, perfect
please can you share the source code again ? because website is down
Thank you, for help me
i have an issue:( ;( i have a select box in my form and I have an add button I have applied append function on it to create multiple select box, in select box I have populate the item codes from table, I have applied ajax on it, when we change the value of select box it would shown the corresponding data in an input fields but its only working on first row:( ;(
the val() not giving me any value. For example i do a console.log(email) and its empty
Excellent tutorial!! Is there a way to use a textarea for one of the fields (for example Email) that would allow line breaks, instead of using Type="text"? Thank you!!
I just figured out how to do the textarea. My mistake was that I forgot to add the amount of rows. thank you!!
LMAO
The update button not working, can't we use save id given in update ?
Hey, I am doing this on a Wordpress page and when I click Update nothing happens and my connection.php gives me back a 404 error. That is the only problem I have, can you help me out?
this tutorial is better than others even in 2021.......
stil i get source code in 2021 ?
Get lost LMAO
gracias
where can we get the source code?
why did you use email as isset ?? please anyone explain.
The Website/Download ist not exiting anymore :/
the link is down, can you update it, please
Brilliant demo, is there a download link that works for the source code?
Get lost you ant
Would this work if you were displaying multiple tables on the same page? Like multiple editable tables?
Yes this will work for multiple table. If the fields are different then you will have to add different modal with different classes
Good
can you please help me to update details using ajax in jsp and database
@Developer Zone
Please share Source Code. above mentioned link not working. Thanks
seria genial que lo hagas con un campo de imagen
When i refresh the page values does not updated
How to Select Id Like MALE OR FEMALE ? its not woring. Help Me Please
i tryed but it's not work .when i click the model update btn ajax url worked but data not update
Looks like you have problem in selectors.
Bro the source code is not available on your website.. Please try to make the source code available in your website
On PHP isset method, where does 'email' come from? Around 10min 30sec mark
it comes from ajax along with other information like first name and last name .
when click on update button in modal we pass that information through ajax .
please watch from 6:50 where we set variables in jquery. and open modal to update data.
@@DeveloperZone001 Thanks. I was able to figure it out after going back a few times. Your video has helped me out so much. I am playing around with my first PHP app and was trying to use EDIT in a bootstrap modal and was stuck for 3 or 4 days. Your video helped me get unstuck. Thank you
@@1976MIKEB so where does the email come from?
Hi Developer. Very nice and clean! Only that the source code link does not work. Thanks.
Hi. the download link is working fine . if you are having any problem downloading the source code then leave your email address in comment . i will send you the source code .
Mine is unidentified sir when i click update alert($(this).data('ID')); i use this jquery method
Usr small letters. $(this).data('id')
can we update without using id but with any other column value
Yes you can also use email instead of id.
hello , before i want to thank you for your work and effort , but i have probleme with update , edit working only in page is not work in data base so if possible to give me solution with my probleme
thank u.
Looks like your ajax is not working. Can you check your ajax code and server url given in ajax to update data
url and code ajax is work , but Still not working whene i edit in data base
@@aymenhamzaoui1076 then check your php code. Is it receiving data from ajax also is your query is OK. Update code is different from insert.
finaly i find error , you wrong in place ajax you use method but in reality we can use type not method in ajax
type : 'POST', not , method = 'POST'
all my respect for you thank u
Toutes mes respect pour vous merci
I have the same problem, now i try to implement your solution
download link failed
How can i put validation of data in this?
You can validate data when we click on save button and get data from input fields.
Just before ajax you can apply conditions on data to check if its valid or not
save button dont work
Hey the source Code is deleted
my modal are opening but why there is no value? i copy your code exactly the same
looks like you are not setting the vlue correctly .
check the input id
and then in jquery check the selector .
$('#input-id').val();
@@DeveloperZone001 it works but the problem again is in data unexpected token : thanks bro.
Could not get the code.
thank you! ps the source code link is not working
Can you tell me what does a '+' sign does in $('#' +id).children (td[data-target]).text();
+ sign concatinate the id with string . in table each tr has id. so when we click on update link we get the id and then get the specific row with id by using $('#'+id).children
@@DeveloperZone001 thank you 👍
Please add for registration
how to show the data if i replace the text input, into select option?? PM ASAP :)
same as input field . like if you have select input having id "dropdown" then you can simply select value by $('#dropdown').val('your value');
I have new a problem now lol, if click the update button it won't save in the DB but it display on page and when hit refresh it will go back to previous value
ChicoChoco looks like value is not being updated. Check if your ajac is working fine.
I need mentor haha? where can i connect with you? :)
i used this again but it didn't display the value,
in select option tag
I made the 100th comment in this comment section. I'm so honored..☺️
why if isset($_POST['email']) sir?
To check form submission.
@@DeveloperZone001 its working when button update is click, but on the database is not working. not updating the data, just on the table only.
@@DeveloperZone001
I have the same problem, what is the solution please?
@@ayaalturk3166 you may be getting values with wrong parameters. use this code to print form data in php and check if you are getting values.
print_r($_POST);
die
Please can you send me the source code?
download source code from google drive
download link is
drive.google.com/open?id=0B5XEqtJZAVgLQXZoT0hGLWJYQWc
@@DeveloperZone001 Hi, it's not work, could you send me the source code please?
Hi sir can you share the code on my email
Secource code Plz
Hi sir i cannot download the source code anymore can you send me the source code thru email? Thank you very much