Php

Asked • 05/15/19

Why shouldn't I use mysql_* functions in PHP?

What are the technical reasons for why one shouldn't use `mysql_*` functions? (e.g. `mysql_query()`, `mysql_connect()` or `mysql_real_escape_string()`)? Why should I use something else even if they work on my site? If they don't work on my site, why do I get errors like > Warning: mysql_connect(): No such file or directory

1 Expert Answer

By:

Ifeoluwa A. answered • 05/18/19

Tutor
4.9 (36)

Certified IT Consultant

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.