6 articles Programming

How to run you first website on Amazon AWS?

Today, is the time of cloud computing and many of us might not be aware of how to set up your first website on one of the best and popular cloud service providers i.e. Amazon Web Services or AWS. So, I am here to explain or guide you in setting up your first web environment…

SQL Server all type of queries

Create table query CREATE TABLE sale ( datetime datetime, PROD_ID INT PRIMARY KEY, PROD_NAME VARCHAR(50), PROD_TYPE VARCHAR(25), UNITPRICE BIGINT, QUANTITY BIGINT, AMOUNT MONEY, ) SELECT * FROM sale truncate table sale drop table sale Insert values in a sales table INSERT SALE VALUES(’01-01-2008′,’100′,’SOAP’,’HOUSEHOLD’,’10’,’100′,’27000′) INSERT SALE VALUES(’01-02-2008′,’101′,’OIL’,’HOUSEHOLD’,’11’,’75’,’26000′) INSERT SALE VALUES(’01-05-2008′,’102′,’TOWEL’,’HOUSEHOLD’,’12’,’110′,’25000′) INSERT SALE VALUES(’01-25-2008′,’103′,’SHAMPOO’,’HOUSEHOLD’,’15’,’125′,’11000′) INSERT SALE VALUES(’01-26-2008′,’104′,’BRUSH’,’HOUSEHOLD’,’120′,’115′,’15000′)…

MLM (Multi Level Marketing) Database Logic

Here i am going to explain about the login for MLM database. MLM database means Multi Level Marketing. When a new user will be registered, all the sponsers in chain will get commission. Please find below the code for the same: Here are form fields: $sid = $_POST[‘textfield2’]; $name = $_POST[‘textfield3’]; $email = $_POST[‘textfield4’]; $address…

Important PHP elements and codes that can be used with $_SERVER super global variable

$_SERVER is a PHP super global variable which holds information about headers, paths, and script locations. Below are some elements that can be used with $_SERVER to get effective results. The example below shows the example elements that can be used with $_SERVER in the following form: echo $_SERVER['PHP_SELF']; //Returns the path and filename of…

Want to add a custom auto suggest form to your store or website? Please read the following post to do so…

Hello Everyone, In this post we’ll be trying to implement a customized auto suggest form with scrolls based upon keyboard up-down keys. Please make sure you have the jQuery library in order to make ajax calls. The following example can be used with any platform. Don’t have jQuery? Click here to download now or try…