How to return JSON Data from PHP Script using Ajax Jquery
HTML-код
- Опубликовано: 16 июн 2017
- This video cover how received JSON data from PHP script by using Ajax request and how to display JSON data on web page by using JQuery. Ajax get JSON from PHP is very simple but widely used concept in web development. Here Ajax get JSON data from PHP.
For Source code and online demo - www.webslesson.info/2017/06/jq...
Awesome tutorial. Everything is clear. small code. Easy and simple.
I know this video is a while back but it made my day today... 😍 I have been searching 🔎 all day trying to get a tutorial that suits what I'm doing and couldn't get, I nearly gave up. Till I saw this one...
Thanks a lot man.. U made my day🙏🙏🙏
You are so welcome!
Very Good video . This video contain integral information about many topic like ajax, jquery, json and PHP. Thanks for uploading.
Thank you Amit Patel, have a nice day!
Fantastic tutorial FRIEND. Helped me a ton!
Good And Simple explanation..
Great
your tutorials are awesome
I only needed to know how to use AJAX on php scripts, but what you showed me was exactly what I wanted to create, thanks :)
@Keith Brixton fuck off, don't reply to a year old comment of me with a fucking bot acount
Congratulations on this job, it will help me a lot. God bless you.
Thank you. This one works out of some videos here on youtube I just can seem to make it work.
love this....thanks for the tutorial.
that was helpful thank you
Nice. First time with ajax
Excellent example. Wil use it. Can you perhaps do the same tutorial but from a Json file also please. There is nothing on the internet like that
kamal sir
#WEBSLESSION, here you show to retrieve data from one select box, where to add code to make 2 or more select box to fetech data?
Tried it out, when I changed the variables, input names, id's and queries according to my project, the edit dialog popped up empty, everything else went well, just the edit dialog. What could go wrong?
Very Good video
how to make query with where ? "select * from employee where id=" etc.. ?
Thanks so mush sir
If the response will multiple then how to display on the website. I mean if JSON output is coming more then one row the how to display on the web page? I know I have to use foreach but still not working
well done
i love you brother
very good
Man ur voice is savage
This for condition if can I set 1 more condition else ?
Can we use ajax to actually fetch the employees too? So we don't have to embed php in html, so everything use ajax
How i can fetch the data from json api or json file and display the data in html form in html page & after submission of data display like json data display in console.
how can i return data in select option of html form ?
thx bro
if we want to show all data in table then how can we do.
Hey Can You Help me To Configure
My API To Order Tracking ...in curl php
I have a problem, ajax keeps returning details for only the first PHP while loop result, no matter the name I click. Please help.
How do I display the search results on a new page...please help
can you tell me how to fetch more than one data i mean return as multiple array data
some solution?
Hello, I was trying to convert msqli into PDO in this example, what would be the equivalent of the code below in pdo?
while($row = mysqli_fetch_array($result))
{
$data["name"] = $row["name"]; $data["address"] = $row["address"]; $data["gender"] = $row["gender"]; $data["designation"] = $row["designation"]; $data["age"] = $row["age"];}
this is from fetch.php file I tried
while($row = $stmt->fetchAll()){...}
which is not working
ok I think I got it working here is the working code
while($row = $stmt->fetch()){...} did the trick
goo.gl/1kGHN4 copy paste the fetch.php and try it in local host.
fetchAll actually works all you need to do is tell the browser that you are getting an array by using the is_array
how can i do that using JSP?
I write same code but ajax is not working why
i am a freshman i am not good at code, could you change this video to laravel . (how to return json data from laravel using Ajax Jquery )
how to fetch more than one data i mean return as multiple data without refreshing page
some solution?
@@TheVixo95 fuck off m8 :'(
Have u got an answer plz reply
@@adilismail3593 Still not getting answer from any one
thx
GRT WORK DO UN HAVE WEB PUSH NOTIFICATION WITH PHP FOR SPECIFIC CATEGORY WISE SENDING TO GROUP OF USER .. ANY GUIDE WILL BE GRT HELP
What is the $_POST["id"] in the fetch.php for? i can't find it, please help!
i think you control there if ID od employee was posted
Nice, still useful, except for the text 2 speech voice
Salut je besoin d'aide svp
J'ai un fichier json crypté vous pouvez me l'aide pour decrypte???
Couldnt get past the voice