# Ionic Login using MySQL and PHP

**URL:** <https://forum.ionicframework.com/t/ionic-login-using-mysql-and-php/50120>\
**Category:** ionic-v1\
**Created:** [April 22, 2016, 12:59pm UTC](https://forum.ionicframework.com/t/ionic-login-using-mysql-and-php/50120 "2016-04-22T12:59:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lynskey08](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/lynskey08/32/79377_2.png) [@lynskey08](https://forum.ionicframework.com/u/lynskey08)\
**Post date:** [April 22, 2016, 12:59pm UTC](https://forum.ionicframework.com/t/ionic-login-using-mysql-and-php/50120/1 "2016-04-22T12:59:25Z")

</div>

Hi everyone,  
I’m trying to get a user login working on my application using MySQL and PHP but every time I try to sign in with the correct/incorrect credentials it send me to the page I want to navigate to when the credentials are supposed to be correct. Anyone have any ideas?

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/2/6/2698777a095fc52718e085628972818c0ecd97bd.jpg)  
 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/6/7/67a6cf89a3838b9a1b09fda56c375a7532c6f589.jpg)  
 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/2/4/24d1fce4a913fc4bcfec07acf70858045226c28c.jpg)
