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

Search In

Getting error for using the session variables used in PHP

<?php session_start(); include_once('config.php'); $user=htmlentities(stripslashes($_POST['username'])); $password=htmlentities(stripslashes($_POST['password'])); // Some query processing on database if(($id_user_fetched<=$id_max_fetched)

Transaction in SQL

Transaction anywhere is used to execute or stop set of statements. BEGIN TRANSACTION trans BEGIN TRY INSERT INTO Department(DeptID,DeptName,Location)VALUES(2,'HR','Delhi') INSERT INTO Employee(EmpID,Name,Salary,Address,DeptID)VALUE

How to generate QR Code using PHP?

You can create your QR Code using the PHP QR Code library. Download the QR Code library and include in your script file. Example:- <?php include "phpqrcode/qrlib.php"; // create your QR Code with new text and display it QRcode::png("Test QR Co

How to clone an object in JavaScript?

The best way to clone an object in javascript is to use $.extend(). We can use it in two ways:- 1.Shallow copy 2.Deep copy 1.The syntax for shallow copy is: var newObject = jQuery.extend({}, oldObject); 2.The syntax for deep copy is: var newObjec

PHP File Functions

PHP Copying, Creating & Deleting files Copy file using PHP:- In PHP when we want to copy our file from source to destination then we have to use following syntax. Syntax: Bool copy (string $source, string $destination); Example: Echo Copy (

Delegates in ASP.NET C#

Hello all, In C#, we use delegates, which are nothing but the type safe function pointer which means that a delegate points to a function and whenever we invoke the delegate, it will call the function for which it holds the reference. The signature

How to create table using PDO in PHP?

PDO is PHP Data Objects which is used to connect to any database. Benefit of using PDO is that if there is any problem in our query it has an exception class to handle it. If any exception thrown to the try block, the script stops and directly flows

Temporary tables

MySQL Temporary tables: A temporary table allows a user to store temporary records and we can use these records several times until the session does not expire. They are useful in those situations when it is expensive to write a query having singl

Remember Me using Cookie in CakePHP

Remember Me using Cookie We can remember username and password by using Cookie. As we know cookie resides in a browser and used to store user data and other informations. We will remember username and password by using cookie when user check the re

How to handle a rpc call in OpenERP

In OpenERP rpc help to change the post, like user want to excute two server in same systems then use rpc and change port number of other server. Basically rpc is used to run server in local systems. Use this function given below def rpc(service_na

1 116 160
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: