
Search In
Hi all,
Here are two method to center align a position of div.
div{
height: 200px;
width: 200px;
background: #ccc;
top:0;
bottom: 0;
left:0;
right: 0;
margin: auto;
position: absolute;
}
In this method you have
If you are looking for a function to Zoom in an UIImageView in a 3D tranform scale then you should use CATransform3DScale.
First of all declare a BOOL variable to check scale points. Here I am taking CGFloat _scalePoints and CATransform3D transfor
The date_add() function is mainly used for adding some days, months, years, hours, minutes, and seconds to a date.
Syntax of date_add()
date_add(object,interval);
you can take belloe example for better understanding:
<?php
//here define a da
Step-1 Go to Apps and install the Mercury Payment Services application module.
Step-2 Go to Pint Of Sale Menu and click it .
Step-3 Go to the Point of Sale application, click on Configuration ->Mercury Configurations and then on Create.
To crop image in iOS use the following method.
it will crop the image from the visible frame of the imageView.
-(UIImage *)imageFromImageView:(UIImageView *)imageView rectFrame:(CGRect)frame{
UIGraphicsBeginImageContextWithOptions(frame.size, im
The filemtime() function is used to get the modification time of the file i.e., the time file was last modified.
Syntax:
filemtime($filename);
In above function there is only one parameter which is the name of the file you want to get the modifica
FROM_BASE64('string')
FROM_BASE64 function in mysql is used to decode the encoded value. The value which is encode with the BASE64 rule to encode by the MySQL function TO_BASE64, is decoded by this FROM_BASE64 mysql function.
The argument which is p
It is easy to add multiple images in the background by using HTML and CSS code only. we can use one image which will repeat across the top i.e (repeat-x) and the another one will across the entire page or it is simple way to adjust every image posit
Hi Team,
Today i will explain Boxing and Unboxing in C#.
C# Type system mainly divided into 3 parts:-
1. Value Type
2. Reference Type
3. Pointer Type
bool,byte,char,decimal,double,float,int,long,short are the value types
struct ,Class and obje
Hello Friends,
If you are looking to use update query with query builder in Symfony2. Please review the below example and make the adjustment accordingly.
$sql = "update tbl_paymentmethod set pm_address = :address, pm_status = :status, updated_at
