Skip to content

Instantly share code, notes, and snippets.

@tyteen4a03
tyteen4a03 / gist:1dfd4f79fee84d1f93d4
Created December 7, 2014 23:14
SO mysql_ comment
javascript:(function(){if($("%23question textarea[name=comment]").length <=0){$("%23question .comments-link").click();}$("%23question textarea[name=comment]").val("[**Please, don't use `mysql_*` functions in new code**](http://bit.ly/phpmsql). They are no longer maintained [and are officially deprecated](https://wiki.php.net/rfc/mysql_deprecation). See the [**red box**](http://j.mp/Te9zIL)%3F Learn about [*prepared statements*](http://j.mp/T9hLWi) instead, and use [PDO](http://php.net/pdo) or [MySQLi](http://php.net/mysqli) - [this article](http://j.mp/QEx8IB) will help you decide which. If you choose PDO, [here is a good tutorial](http://j.mp/PoWehJ).");})();