Question
Two issues in my php codes, one in Login.php, one in Register.php code. Two issues occur when we upload files on 000Webhost. We used 000Webhost
Two issues in my php codes, one in Login.php, one in Register.php code.
Two issues occur when we upload files on 000Webhost. We used 000Webhost to host a database for our advising app project. Project code can be found on Github. My partner uploaded two php files on 000Webhost but he got two errors, we are not sure how to solve it. Here're our php codes.
Github codes for Android Studio: https://github.com/swiftandquick/AdvisingApp
Register.php
Errors in Register.php:
Uncaught Error: Call to undefined function mysql_real_escape_string() in /storage/h4/876/951876/public_html/Login.php:4 Stack trace: #0 {main} thrown in /storage/h4/876/951876/public_html/Login.php on line 4
Login.php
Login.php errors:
Uncaught Error: Call to undefined function mysql_real_escape_string() in /storage/h4/876/951876/public_html/Register.php:6 Stack trace: #0 {main} thrown in /st
TL;DR:
Read the codes above.
Login.php error at line 4.
Register.php error at line 6.
Anyone care to help out?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started