
Search In
If you want to check amounts in the partial reconcile table aren't signed or not then follow the following code .
amount = abs(line.debit - line.credit)
amount_residual_currency = abs(line.amount_currency) or 0.0
sign =
MySQL is an open source database software which is used for storing data. Some time we need to run MySQL Server on safe mode. Please follow the below commands one by one to run MySQL server on safe mode.
1) First of all you have to stop MySQL Server
If you want to send push notification on Android mobile please use the below function:
Requirement :: a) Mobile TokenId
b) Google API Key
public function send_notification_mobile($mobiletokens, $GOOGLE_APIKEY){
// API access key fr
If you are creating web forms then you need to put the validation in your form. We are here to discuss the validation for email. We know email address has its own structure. For eg. anytext@domain-main.com or anytext@domain-name.co etc
We are going
<?php
session_start();
include_once('config.php');
$user=htmlentities(stripslashes($_POST['username']));
$password=htmlentities(stripslashes($_POST['password']));
// Some query processing on database
if(($id_user_fetched<=$id_max_fetched)
Hello Guys,
If you are working on Facebook App and want to fetch user profile picture in a specific dimension. Like I want to fetch my profile picture in 3 dimension sizes 50*50, 150*200, 300*500.
For this please follow the below example:
$fbUser
Hello Friends,
If you are new in Wordpress and looking to fetch any specific post data. Please review the code below::
//Here we are going to fetch post named Vacancy.
$args = array('post_type' => 'Vacancy');
$loop = ne
Hide $_GET variables using encryption
Hello friends, I am writing this blog which will let you know how to hide variables using encryption. I have created activation url, though which users will activate their account by clicking on it. So, I want t
In the code given below, i have created a javaScript Confirm Model with the help of bootstrap. I also used document ready event handler to trigger the event.Confirm model without a callback isn't particularly useful,but it is entirely possible usin
Hello
Below code will help you to implement change password from custom portlet.
Please follow below steps :
step 1 : create Action URL
<portlet:actionURL name="updatePassword" var="updatePassword"/>
step 2 : Write below code in JSP page
