
Search In
How to replace Year of a DateTime variable with the Year of another DateTime variable in C#
While working in a project, I got stuck in the following issue :-
I have to compare the year of OldDateTime variable with NewDateTime variable. But if they
Hello Reader!
If you have been working with HTML 5 validation then on incorrect email address web broser will show the default error message "please enter a valid email address".
Now you can make it custom and write your own message. Lets see the cod
This blog will help the readers to understand that how ATM machine dispatches the money. Lets have a look on the ATM code in PHP:
<?php
$amount = $_REQUEST['amount'];
$rupees = array(1000,500,100,50,20,10);
$count = array(0,0,0,0,0);
for($i=0;
If i want to break our loop at specific condition then it is same as other languages .
In Ruby continue doesn't work , in this there is equivalent keyword i.e next
class Number
def looping(d)
while(d!=50)
puts d
d = d + 1 // doesn't
In laravel we can create relation between the tables and can use them where ever we need it we need not to create custom queries or use query builder to retrieve data. I have written one of example of my worked project.
//hasOne relationship model
To dynammically add new elements into listview we need a Edittext(etAddItem) to input the item/element, a Button(btnAdd) for adding item to the list, and a listview which shows elements in a vertical scrolling manner.
etAddItem = (EditText)f
Hello Readers,
Below are some of the features of CakePhp:
CakePhp is basically a framework which is based on MVC pattern i.e(model view controller).
Cakephp is compatible with php version 4 and 5 plus.
Cakephp have built in validation.
Cakephp h
private void doAssign() {
String nameStr = fname.getText().toString();
String phoneStr = phone.getText().toString();
String bikeStr = bike.getText().toString();
String details = nameStr + "," + phoneStr + "," + bikeStr;
Hello Readers,
By this blog, I am sharing some common functional test scenarios for the mobile devices. I hope these will help in the time of functional testing on the devices.
Some of these scenarios are mentioned below:-
Verify that all the neces
I am unable to figure out as to how I can install or use the Laravel PHP framework on any webserver without relying on the need of using Composer (PHP package/dependency manager) every time.
I am making efforts to gain insight into PHP and framework
