PHP debugging

For debugging PHP this function is your friend. It will output whatever you have in the () to the browser and then stop the script.

print_r($form_data); exit();

Leave a Reply