Ionic Tutorial Chapter 14 (Sql C.R.U.D. operation using Php mysql, using localhost)

preview_player
Показать описание
Learn to create localhost server using PHP and MySql database, perform Select, Insert, Update, Delete operations using it.
Рекомендации по теме
Комментарии
Автор

That is so fantastic video and content. You not only training about coding but also exploring error. I would love it much. I hope the next video would describe on how to upload picture from Ionic to Mysql using PHP too. I hope you would have more video for us. Your video training really help to my and students in Cambodia. Thanks

skordong
Автор

I find this video from long time, thanks u sir ji ...😊

pankajtribhuvan
Автор

nice tutorial.. very simple and clear code... please make another videos..thanks

amirolahmadjamaluddin
Автор

Hello jayesh, first thing i wanna thank you for this tutorial, and i want to know if you can told me how can i read data and puted in ion-input ??

faicaldown
Автор

The tutorial is fine for localhost but while running application on mobile will it work fine means i think there should be remote connection?

MuhammadUsman-oxkc
Автор

For those with this problem: Uncaught (in promise): [object Object]
Write in the first file php :
header *");
header Origin, Content-type");

youssefbouali
Автор

hi thanks for nice tutorial. its very helpful. i have one question that in get method we fetch all values as json and how we show in html file like we have json file like this [{"id":"24", "name":"aaaa", "email":"abc", "pass":"", "phone":"", "gender":"", "agree":""}]. and i want to show only name in list or any html tag. how we will show this. thanks in advance.

bunnygags
Автор

can you provide your read.php file as i am new to php just want to check some values..?

rohitmier
Автор

great bro, i have a question, when you click on add button, you are insert 2 rows on database, one of them are empty, how can i fix that?, thanks alot, srry for my inglish..

andresgonzalezmartinez
Автор

When I store the content from the database in a variable the content is in a string type. I would like it to be in an array type. Can you help me?

Grgarowing
Автор

Hi Jayesh, your solution to the object Object did not work for me, even after repositioning the lines in the create.php code. I have restarted the server and all, but no luck. It only add 2 empty rows to the table. I have also wrapped the logic between the if(isset) condition, but that didn't change anything. Do you have any ideas?

igor
Автор

Hello brother, your code is locally is working fine but if php part if it is in server it will throw an error (Run time error - uncaught(in promise) [object, object] ), could you give me some solutions for

rizwanrehman
Автор

Read, Create, Update and delete is working fine when using postman and read data using ionic got error "blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource." Help me to solve this error

alagarasanrk
Автор

I followed all the instructions and it's almost working perfect, but my create are executing two time, one with the correct values and another insert with empty values. Any idea why?

trsoares
Автор

can you please guide me on login and registration of an ionic app with php.
thanks in advance

dummy
Автор

hellow iam error uncaught (in promise) object object
please help, thanks

andiriyantoadriansyah
Автор

Gentlemen, if your data are inserted twice on the db (one null and another not null), write a syntax to eliminate this possibility. On the create.php file, write the code below:

if($name!= null && $country != null){

if($conn->query($sql) === TRUE){

$outp = "Insert " . $name . " e " .$country;
echo json_encode($outp);

}else{
echo json_encode("Erro " . $conn->error);
}

}

rodrigodossantos
Автор

can you just share the php file for create.php !! please it would be so helpfull if you could !! i insist

rameezkhan