MySQL with 000webhost

did you follow the Setup?

Setup

  • Put the PHP code on your web server
  • Set the SQLKEY in your app and in the PHP code, they must match for this code to work
    Note : Don’t use special characters, see also here.
  • Setup your database connection information in the php script
  • Try out the code

especially Don’t use special characters for the SQLKEY

Taifun