Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to make a redirect html page using jQuery

Redirecting a web page will occur in the header part of the page. In JQuery the page redirect have a code and it will go like this below // similar behavior as clicking on a link window.location.href = "http://findnerd.com"; As soon this script co

How to put coma between hundreds and thousands of any given number

Hello reader's! On a given number format if you want it to be customize like a figure with separated by (,) like 128,347,556. By using a function and in the function we will Preg Match the string with every hundreds and thousands You can use the co

How to insert, Update & remove data using JDatabase

Inserting data using JDatabase: JDatabaseQuery class includes methods such as insert(), columns() and values() to insert data. For example: // Get a db connection. $db = JFactory::getDbo(); // Create a new query object. $query = $db->getQuery(

How to Copy entire date into other table in SQL Database

SQL Copy Table If you want to copy a SQL table into another table in the same SQL database then you can do with the copy statement . Syntax -> select * into destinationTable from sourceTable ; Example -> **Student name** **St

How to compare two variable floats using PHP

While making the calculation with float variable one should really careful since there can be three cases, It can < or > or =. So lets see the example below and learn how to get the comparative. $varOne = round(0.250, 3); varTwo = round(1 - 0

Data formatter in YII

For make data more readable YII provide a application component name as 'formatter' by using this we can format our date,numbers,email. How to use $dataFormatter = \Yii::$app->formatter; echo $dataFormatter->asDate('2016-01-01', 'long');

How to find a string inside another string using Javascript

Suppose you have two strings and you need if they contains same words. Then in this case you have to use 'strName.indexOf' function. Let's consider the example below:- var MyString= "I'm explaining string match on findnerd portral"; var Find = My

GroupBy and OrderBy in MYSQL

ORDERBY alters the order of the specified column into the table by giving there fields name and arrange them in desc as well as asc ordering but default ordering is asc while in GROUPBY aggregates the records by the specified column which allow to

how to print the HTML code in PHP

If you want to print the html tags and code inside the PHP code you can do it by putting all the html code inside the echo syntax:- Consider the following two cases:- 1. In between PHP tags <?php if(condition){ ?> //In this case the html cod

How to convert .ppk file into .pem file

If you would like to convert .ppk file into .pem file, the process are given below: 1) Open terminal and make your login 2) sudo apt-get install putty-tools 3) puttygen /var/www/html/abc.ppk -O private-openssh -o /var/www/html/abc.pem 4) chmod 400

1 239 949
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: