Categories

WordPress: Increasing memory allocated to PHP

WordPress logo

If on your WordPress Dashboard you are seeing an error something like this:

Fatal error: Allowed memory sizeā€¦

try adding the following to the wp-config.php file in the root directory of your blog:

define(‘WP_MEMORY_LIMIT’, ’64M’);

submit a form with a radio button using Javascript

JavaScript logo

My boss (god bless his little cotton socks) wanted me to implement some code that submitted a form when the user changed the selection in a set of radio [...]