Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
405 views
in Technique[技术] by (71.8m points)

php - 为什么我不应该在PHP中使用mysql_ *函数?(Why shouldn't I use mysql_* functions in PHP?)

What are the technical reasons for why one shouldn't use mysql_* functions?

(为什么不应该使用mysql_*函数的技术原因是什么?)

(eg mysql_query() , mysql_connect() or mysql_real_escape_string() )?

((例如mysql_query()mysql_connect()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

(警告:mysql_connect():没有这样的文件或目录)

  ask by Madara Uchiha translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...