public function __construct($_mobile= array()){
$conn = mysqli_connect('localhost', 'root', '') or die("not connected");
mysql_select_db("oop_crud") or die("db not found");
echo "testing";
}
Asked
Active
Viewed 29 times
0

Rajdeep Paul
- 16,887
- 3
- 18
- 37
-
1You're mixing APIs. `mysql_*` and `mysqli_*` are two different things. – Rajdeep Paul Nov 03 '16 at 17:22
-
Possible duplicate of [Can I mix MySQL APIs in PHP?](http://stackoverflow.com/questions/17498216/can-i-mix-mysql-apis-in-php) – Rajdeep Paul Nov 03 '16 at 17:22
-
Please describe the problem, what you expect to be done and what happens. Don't expect people guess your intention or run your code. – reith Nov 03 '16 at 18:10