Insert XML Data to MySql Table

Input XML Data <?xml version="1.0" encoding="UTF-8"?> <items> <item> <title>PHP Shopping Cart with PayPal Payment Gateway Integration</title> <link></link> <description>Shopping cart checkout ... Read More

PHP Code to Convert Array to XML

<?php $input_array = array( 'article' => array( array( 'title' => 'Favorite Star Rating with jQuery', 'link' => '', 'description' => ... Read More

PHP Functions to Clean User Input

<?php function cleanInput($input) { $search = array( '@<script[^>]*?>.*?</script>@si', // Strip out javascript '@<[\/\!]*?[^<>]*?>@si', // Strip out HTML tags '@<style[^>]*?>.*?</style>@siU', // ... Read More