Thanks for the great work. When using myjs.js file; creating the view_record function, on the data=$.parseJSON(data). Am receiving this message error. Uncaught snytaxError:JSON.parse: unexpected character at line 1column 1 of the JSON data. Could you and anyone else here please help me out?!
you have one problem in your code brother your code for delete it's just delete the first item only try to click last item or before you can't remove it
Pls help author syntax error ...console log -- ' Uncaught SyntaxError: Unexpected token < in JSON at position 4 at Function.parse [as parseJSON] () at Object.success (myjs.js:43) '
Hello, You need to remove this line data = $.parseJSON() under your view record function in myjs.js file and write outside of success dataType: 'JSON', JQuery will do the same thing for you it worked for me
@@ibtissembendouhou3274 facebook.com/ElharmaliOussama/ contact me I will give a folders contains all about webDev (Udemy) don't follow like those tutorials
@@ibtissembendouhou3274 Hello, You need to remove this line data = $.parseJSON() under your viewrecord funtion in myjs.js file and write outside of success dataType: 'json', JQuery will do same thing for you it worked for me
Hello, You need to remove this line data = $.parseJSON() under your viewrecord funtion in myjs.js file and write outside of success dataType: 'json', JQuery will do same thing for you it worked for me
Thanks for the great work. When using myjs.js file; creating the view_record function, on the data=$.parseJSON(data). Am receiving this message error. Uncaught snytaxError:JSON.parse: unexpected character at line 1column 1 of the JSON data. Could you and anyone else here please help me out?!
Finally someone explain the ajax perfectly thank you so much sir
Bro u have made me a good developer... Thanks for this, u really knows how to teach... Keep it up bro
superb its like java we use classes like here you used functions.so clean thank you
Thanks for the great work.
When using myjs.js file; creating the view_record function, on the data=$.parseJSON(data). Am receiving this message error.
Uncaught snytaxError:JSON.parse: unexpected character at line 1column 1 of the JSON data. Could you and anyone else here please help me out?!
good am following this
you have one problem in your code brother your code for delete it's just delete the first item only try to click last item or before you can't remove it
Its good and simple to understand let me try to practice.
This is really great and useful content
If someone is looking for PHP PDO CRUD using Ajax ruclips.net/video/LBxSYZ6Z4ng/видео.html
Thank you very much its really helpfull
my function fetches only one character from each record in the database kindly advice what could be the problem
very detailed explanation, thanks
so clean and very easy to understand, thank you
Very good and complete. The results were not paged.
how retrieve the specific id of the user for example when i click on user id 1 and display the only one records of user 1??
don't use the while loop we you fetching the data from the table stored it in the single variable.
Sir ajax ke code se bnana ek vedio please 🙏
great job, thx!
Execlant, Thanks :)
nice! bro
Thank you so much! Awsome tutorial👍👍👍
Hi, you don't have a syntax error at data=$.parseJSON(data) ???
good job
@telugu tolly63 Hey! Have you solved your problem? I'm not getting any output as well
Can't find the code via the link ?
the script not found at the website :(
hello sir how to upload image along with this
it says data is not defined when I click on the Edit button! can someone help me???????
Thanks bro! Worked for me!
Hi bro, Do you found the solution of that ?
@@oussamaelharmali2294 post your code here
@@davinunesvit data = $.parseJSON(data); a error shows : Unexpected token < in JSON at position 0 I search but with no result
@@oussamaelharmali2294 try to console.log(data) to check your JSON structure
@@oussamaelharmali2294 show me your PHP code and your js
Pls help author
syntax error ...console log -- ' Uncaught SyntaxError: Unexpected token < in JSON at position 4
at Function.parse [as parseJSON] ()
at Object.success (myjs.js:43) '
Hello, You need to remove this line data = $.parseJSON() under your view record function in myjs.js file and write outside of success dataType: 'JSON', JQuery will do the same thing for you it worked for me
in functions.php
function get_record()
$User_data = ""; should be like this --> $User_data = array();
Thank you my friend you are the best!
this help for the editing part, else it will show initials
please on 1:04:48 timestamp $User_data =" " ; DOES NOT WORK it shoulb be -> $User_data = array();
Brother I got a syntax error at data=$.parseJSON(data);
Can u please help me to avoid that error.Please.
What about now brother ?
Same problm today , did u fix it?
@@ibtissembendouhou3274 facebook.com/ElharmaliOussama/ contact me I will give a folders contains all about webDev (Udemy) don't follow like those tutorials
@@ibtissembendouhou3274 Hello, You need to remove this line data = $.parseJSON() under your viewrecord funtion in myjs.js file and write outside of success dataType: 'json', JQuery will do same thing for you it worked for me
syntax error ...console log -- ' Uncaught SyntaxError: Unexpected token < in JSON at position 4
at Function.parse [as parseJSON] ()
at Object.success (myjs.js:43) ' ....plz fix it..
Hi bro, Do you found the solution of that ?
@@oussamaelharmali2294 Do you want to get your problem solved ?
@@WPANDSEOTUTORIALS yes of course
Hello, You need to remove this line data = $.parseJSON() under your viewrecord funtion in myjs.js file and write outside of success dataType: 'json', JQuery will do same thing for you it worked for me
@@aasharazeem5735 hello mine has jam
For those who are having data=$.parseJSON(data) error replace that with this
data = JSON.parse(data);
True
can you send me source code of this code ?
your code view is looking too small i cant see what youre typing
Please increase video resolution, then you will able to see each code..
@@OnlineITtuts hello please help
Sir, could you provide source code...?
You can learn following his steps
@@adilsonsf Go fuck yourself, I can learn by playing with the code directly.
@@angryrussianhd2470 :P You people are really fuckin :P
Help echo json_encode(['status' => 'success','html'=>$value]); syntax error, unexpected '[', expecting ')'
Thanks for the great work.
When using myjs.js file; creating the view_record function, on the data=$.parseJSON(data). Am receiving this message error.
Uncaught snytaxError:JSON.parse: unexpected character at line 1column 1 of the JSON data. Could you and anyone else here please help me out?!
great job, thx!