Posted by rajqpt on May 30th, 2013 at 11:11 am
Most of country using different date format for filling the form and day activity. So the PHP provide many date formats.
See list of Date Format
Here, we discuss about how to change the date in different format using php
The function to generate date user required format. You can required specified format of date and that is decleared above the list
The function used to replace the symbol between the Date/Mo...
Posted by rajqpt on May 29th, 2013 at 11:48 am
Here we discuss about how to update the array value in the database.The concept very helpful to PHP web application because it is used to many situation. you can store the all user information in single table. It is decrease the new table creation for each user. you can manage all user information in single table and single query.
Let discuss the sample code
Here the user update the studied information in the database
Posted by rajqpt on April 6th, 2013 at 10:31 am
About Case-sensitive and why it needed
Text or inputted text that is capitalization sensitive. In other words, "Computer" and "computer" are two different words because the "C" is in uppercase and lowercase. Many times a password and username is case-sensitive. This means your username or password must have the proper case or you will be unable to login. Often users will experience the inability to log into a case sensitive login because their caps lock key is on, causing the case sensitive...
Posted by rajqpt on April 4th, 2013 at 7:49 am
Why we want to use custom login?, Because we must separate from user and admin account and we must be disabled some feature in user account. And similarly, activate all feature in admin account.
PRIVILEGE ADMINISTRATION Privilege Administration refers to the ability to change privileges. This is the most dangerous of all privileges! If you grant someone the privilege of Privilege administration, then not only will they be able to edit their own privileges, but they'll also be abl...
Posted by rajqpt on March 9th, 2013 at 8:19 am
Sample PHP code for Store and verify the encrypted password
Here use Base64-encoded and decode function to store and retrieve the password.
The Base64-encoded function work process
Password change into random letters, numbers and/or characters.
Base64-encoded data takes about 33% more space than the original data.
To store the password
$Link = mysql_connect ("localhost","root","") or
die('Databse not connecte...
Posted by PRIYAQPT on December 17th, 2012 at 11:06 am
Now let us see how to validate a form while using multiple submit button. Its merely easy to validate the form when there is a single submit button
It's quiet tricky to perform validation on form with multiple submit button.
1.Add the multiple submit buttons in a form:
<form action="" method="POST" id="form" name="form">
Posted by PRIYAQPT on November 17th, 2012 at 11:20 am
Have you find it's a difficult to reduce the z-index for your youtube video here is simple solution to make your video behind the website content.
Usually youtube videos has a more z-index than the other contents. Lowering the z-index is not a good trick instead of that you can use wmode parameter to embed your video
You can refer the following code
<embed width='560' height='315'
Posted by PRIYAQPT on November 16th, 2012 at 12:11 pm
Let us see how to create a POP-UP window using javscript.
Now we are going create code html file and we are going to add the link, whenever the user clicks the link it will display the POP-UP window
Place the code inside the html file
Posted by PRIYAQPT on November 7th, 2012 at 5:19 am
To increase the visibility of your site or code, you can make use of embed code to your site so that the user can place the your code in their site thus it will improve the visibility of your code.
Now, Let us see how to add the embed code to your site using iframe
1. Place your source url that code that contains the code, adjust the height and width in the below code
<iframe marginwidth='0' marginheight='0' frameborder='0' width='600px' height='700px' scrolling='no' src='h...
Posted by PRIYAQPT on November 5th, 2012 at 12:03 pm
Now-a-days, Pinterest plays a major role in social media for sharing your videos, photos etc.,
So you can pin your photos, videos easily using Pinterest Button
You can add the Pinterest button to your website using the following code
<a href="http://pinterest.com/pin/create/button/" count-layout="none"><img src="//assets.pinterest.com/images/PinExt.png" alt="Pin it" /></a>