MySql Database Connectivity using PHP

72 views
Skip to first unread message

Parul Nandwani

unread,
May 31, 2019, 5:39:49 AM5/31/19
to Flutter Dev
Hi everyone,

I want to understand in detail about how to connect to MySql using PHP in flutter. 
Is there any point/videos/channel where I can find it?

I want to understand how to call data from MySql in my flutter application.

Job Thirimu

unread,
May 31, 2019, 6:09:00 AM5/31/19
to Parul Nandwani, Flutter Dev
You will need to use http plugin to be able to connect to your end point. Add it in you pubspec

http: any

then call it on the listing page





--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/28b7eef2-8158-4118-b309-15959970e770%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Kind Regards,
Job Thamaini Thirimu
WEB DEVELOPER
(+254) 700 039 142

michael belmonte

unread,
May 31, 2019, 8:46:19 AM5/31/19
to Job Thirimu, Parul Nandwani, Flutter Dev


On Friday, May 31, 2019, Job Thirimu <jobth...@gmail.com> wrote:
You will need to use http plugin to be able to connect to your end point. Add it in you pubspec

http: any

then call it on the listing page





On Fri, May 31, 2019 at 12:39 PM Parul Nandwani <nandwan...@gmail.com> wrote:
Hi everyone,

I want to understand in detail about how to connect to MySql using PHP in flutter. 
Is there any point/videos/channel where I can find it?

I want to understand how to call data from MySql in my flutter application.

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.


--
Kind Regards,
Job Thamaini Thirimu
WEB DEVELOPER
(+254) 700 039 142

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/CABsb-D33RzVTN6KtkUnBYb6p0%2B50ctSomU3G_DnjtOHox5amBA%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.


--
best wishes
michael

Rabih M. ElBaba (Gmail)

unread,
Jun 2, 2019, 8:09:00 PM6/2/19
to Parul Nandwani, Flutter Dev
you can't reach the database direct from Flutter, it's highly recommended to secure your app and database, by building the json format as API and get HTTP requests as json format.

On Fri, May 31, 2019 at 12:39 PM Parul Nandwani <nandwan...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.

Gopal Krishan

unread,
Jun 5, 2019, 3:45:44 AM6/5/19
to Flutter Development (flutter-dev)

Hey ! Please go through https://github.com/adamlofts/mysql1_dart to connect mysql with dart language and let me know if you are able to use this part in your flutter application.

Waiting for your reply.
 
Regards,
Gopal

Rabih M. ElBaba (Gmail)

unread,
Jun 6, 2019, 5:55:01 PM6/6/19
to Gopal Krishan, Flutter Development (flutter-dev)
That is great, but in this case, you are working with open database (Direct connection) as mentioned before, try to use Interface to reach your DB

Regards

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.

To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages