How to Create PHP CRUD REST API

preview_player
Показать описание
Learn how to build a rest api in PHP Mysql. How to make CRUD Api in PHP step by step. How insert, update or delete mysql table data by using PHP API with Ajax. How to use PHP Restful Api web service for add, edit or remove data from mysql table.

Рекомендации по теме
Комментарии
Автор

thanks for this video, I waited months for it. My wish for next video: Realtime full duplex Datatable

nicolapigozzo
Автор

Very good tutorial, you made a great job. Thanks!

vvssmmrroo
Автор

For anybody who's having this error:
"Warning: count(): Parameter must be an array or an object that implements Countable in on line ..." check all of your url stored in $api_url variable. There's a specific path to the files in the video and you might have it in a different folder, under a different name, etc. Otherwise there is no object, it is null. Hope this helps.

cmulation
Автор

my question is about
when i retrieved data using curl_exec() the data is automatically encoded
i retrieve data from database so i think i retrieved it in array form
but i retrieved it as json form why

mahmoud
Автор

Thank you. I however have a problem, I manage to add once and then I cannot do that anymore.

mazronho
Автор

If it was a real voice you could have got more subscriber your content are good thank you

nepalcodetv
Автор

how to activate Datatable Plugin on this table?

nicolapigozzo
Автор

Hi, great tutorial.
I have a large database that is the result of 13 years of supplying a desktop school system. Now I want to access this data via application - phone / tablet; Which path to follow with the use of API?

ROGERIORIOS
Автор

Thank you. Please do you have a video showing how to load an image on a server through a REST API with Laravel ?

kod
Автор

At 15:08, if we haven't made any database connection or executed any select query, how is it displaying John Smith, Edit, Delete in the browser? Kindly help.

SachhiDuniyan
Автор

for all stuck on this demo, just change private $connect= ''; to private $connect;

tuananhnguyen-mjig
Автор

I'd like to say that the last part of index.php source code has a missing "});"
here is the correct code without anything missing, it made the code work for me
hope this helps (edit: click on the read more if you can't see my entire comment for the code, reminder that it's in the last part of index.php)

<script type="text/javascript">


fetch_data();

function fetch_data()
{
$.ajax({
url:"fetch.php",
success:function(data)
{
$('tbody').html(data);
}
})
}
});
</script>

justsomerandomguy
Автор

Awesome session...👌👌
Can you please make same API tutorial on Codeigniter and Laravel..

rajachikkala
Автор

Can't insert data, keeps returning [{"success":"0"}], any help?

AbdArfeAmadeDomingos
Автор

Can you show me login and register authentication API?

asaduzzaman
Автор

Can you show me the authentication API?

NovPiseth
Автор

make a video how to implement load balancer in laravel app

nurlyltube
Автор

can you please upload complete rest api project tutorial

monirkhan
Автор

Sir can you please show how to implement the API in Codeigniter as you have done it with core php - How to Create PHP CRUD REST API. Many users like me will be greatly benefited with this. Thanks.

ArjunYadav-npfh
Автор

In July 2020, At 15:15 to test - I am not getting any results from the database, but no console errors...so that's nice. I used a PHP validator, but I'll take another pass and make sure I followed correctly.

Diertstarr
join shbcf.ru