
Search In
To delete records of more than one table we can use joins. Joins are used to combine two table. Here, we will use join to delete the records from more than one table.
Syntax:
DELETE T1, T2 FROM T1 INNER JOIN T2 ON T1.key = T2.key WHERE condition
Hello Reader in this blog you will see how to get result of two arrays in a single array using PHP
Array one name information
Array
(
[0] => Array
(
[0] => 125479
This video tutorial describes how to implement AlertDialog in your activity.
A dialog that can show a title, up to 3 buttons and a list. It is a subclass of Dialog that can display one, two or three buttons.
This video tutorial describes the three wa
Welcome to Findnerd.
There are two new functions named random_int and random_bytes which are introduced in PHP7. You can generate the cryptographically secure integers and strings
with these functions. random_int takes two parameters, one is min va
Sorting Arrays
PHP offers a host of functions for sorting arrays.
An initial “a” means the function sorts by value but maintains the key/value pairs association.
An initial “k” means the function sorts by key but maintains the key/value pairs as
Hello Readers,
parent() : this function travels only one level in the DOM tree.
parents() : this function search through the whole DOM tree.
For Example :
Given the following HTML :
<html>
<body>
<div class=”one”>
ThreadGroup in Java:
It represents combination of threads within a group. A thread group can also include other thread groups .With the help of thread group we can easily suspend, resume or interrupt group of threads by a single method call.
If we have has_one relation between two models then we need to declare belongs_to relation in one model and has_one relation in another model. belongs_to will be declared in the model where we will have the foreign_key and has_one in the other model
Hello Friends, Some time we get stuck when a scope is terminated and found that two similar destroy events are triggered. Here we want to understand What and why are they two used for in angular js.
The first one is an Angular jS event, $destroy, an
If you want to overlay one image over another image. You can use the below example.
function mergeImage(){
$src = imagecreatefromjpeg('usaflag.jpg');
$dst = imagecreatefromjpeg('vivek.jpg');
imagecopymerge($dst, $src, 0, 0, 0
