Salesforce | Refresh the parent window automatically on closing the child window

| By Webner

On closing child popup window (on click of a button), we wanted to refresh the parent window automatically to check the updates. We can refresh the parent window on closing the popup window by using javascript. Syntax : This is

Issues of UTF-8 Encode Keyword

| By Webner

<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″> <?php echo utf8_decode(“selecciona una categoría”);?> Above two lines are used to decode the special characters properly. We use the meta tag in section of the page to decode the whole page and second line of PHP

PHP | Sorting Complex Multidimensional Array

| By Webner

Suppose we have a complex array like below: $products = array( array( ‘product’ => array(‘id’ => 1, ‘name’ => ‘Jquery tutorial book’), ‘product_details’ => array(‘cost’ => 10, ‘edition’ => ‘first’) ), array( ‘product’ => array(‘id’ => 2, ‘name’ => ‘javascript