
Search In
What Is Anomaly ?
In the software testing field, anomaly is a kind of output or result which is distinct from the prospective output. By using a report or document we can make the result of this performance. Sometime an anomaly can also apply to a
Hello guys,
Most of time we face the problem order by within IN() values . Mysql provides the function FIELD(), It will sort fetched IN() data according to requirment . The FIELD function returns the position of the first string in the remaining list
Hello Reader's! If you have stored the image in database as blob. Then you need a php code to retrieve them and a html page to show them. Lets see an example below how to show them
First create a php page getImage.php and code as written below:-
&l
Both UNION and UNION ALL operators are used to combine the results of two or more SELECT statements. However the two differ as below:
1) UNION performs a DISTINCT on the result set, removing any duplicate rows.There is a performance hit when using
Like we have state management in ASP.NET, ViewBag and ViewData are also used for providing the state management in MVC
Use of ViewBag and ViewData:
1 It helps to maintain data when you move from controller to view.
2 It is used to pass data f
Hello Readers ,
Suppose we have two three array it will search with all three arrays and return an array that contains the values from array 1 that are not present in rest of the array
Example :
<?php
$a1=array("a"=>"red","b"=>"green","
Hello Readers ,
The array_flip() function exchanges all keys with their associated values in an array.
Say we have array array("a"=>"red","b"=>"green","c"=>"blue","d"=>"yellow"); and we want to interchange key and values of an array .
We will understand the process of binding a list box to MySQL by an example. Suppose we have a database "test" having table ex1 which contains columns id,name. We need to bind the name field with the list box. For this we will use the following PHP s
If you want to get all those values which exist in an array and also exist in other array means intersect values between an array and the set of other arrays then you can use a predefined php function array_intersect. array_intersect() returns an arr
Hi Readers,
We all have used array_values, but we use array_values just to get the values from an array. However, we can do much more than that with the help of it.
One of it's alternative use of array_values is in a situation where we have an
