3 ms·
Here's a better version of that link: http://www.phptherightway.com http://www.phptherightway.com - using a different runtime is not going to make someone who d
by Rjevski 9y ago
Here's a better version of that link: http://www.phptherightway.com http://www.phptherightway.com - using a different runtime is not going to make someone who doesn't know anything besides mysql_query or include write better PHP. You need to start with the basics instead. Your post is what I would call premature optimisation.
- olegkikin 9y agoYou can't use mysql_query anymore. It's removed from PHP 7. And the docs warn you about it: http://php.net/manual/en/function.mysql-query.php http://php.net/manual/en/function.mysql-query.php
- Rjevski 9y agoOne of the issues I noticed in a lot of beginner PHP developers is that the official docs is the last thing they look at. They'd rather copy/paste some crap from W3Schools or a 10 year old blog post, and given that they put it on shared hosting with a prehistoric version of PHP the "mysql_query" garbage will work as expected (as in, allow their site to be exploited).