Hello Friends,
Thank you for coming in this Disscussion thread.
I need some helpp for you guys,
Yeasterday some one ask me a question.
The Question is why we use mysql_query in php.
I don't have any answer of that Question.
please tell me why we use mysql_query?

Thank you in advance so much...

5 Years
Discussion Span
Last Post by jkon

please tell me why we use mysql_query?

So that we can query a MySQL database? :P Your question is obvious and nonsensical, which probably means that's not really what you meant to ask. Can you be more specific?


The first days of a new college semester
homework questions


Edited by almostbob


Thank you AARTI SHRIVAS thanks alot..

Edited by harry_2


If the question is “why we use mysql_query in PHP?” the correct answer for me is “A: because you are lazy in learning and you use a deprecated function instead of (for example PDO) ” or “B: because you have a code that you didn’t wrote and have none or little knowledge about it”. Anyhow the function “mysql_query” in PHP wasn’t a good choice even when it wasn’t deprecated.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.