web stats analysis

PHP Archive

How to declare Variable in PHP?

Hello,We Learn About How To Declare Variable In Php..

Following the simple Defination of Variable:

Variable:- Variable is a one type of name which store the value..

Follow the some rules to decler Variable is bellow..

* First,make a dollar($ sign) and after give the Variable.

* Variable name must start with latter or underscore.

* Variable name not contain any type of space.

* A Variable name must contain only alpha-numeric characters and underscores (A-z, 0-9, and _ )

* Every Variable are case sensitive. ($a and $A are two different variables).

I declare the Variable Like Bellow..

$demo=“Hello Friends!”;


Note:-In php The Dollar($ sign) is take autometically datatype depends on veriable value.

ul li tag is not working in ie

ul li tags do not display correctly in IE

Copy following code and add after <head> tag in your pag
<!–[if lt IE 9]>
<script src=”http://html5shiv.googlecode.com/svn/trunk/html5.js“></script>

phpMyAdmin access denied for user root

PhpMyAdmin – Access denied for user root@localhost

#1045 – Access denied for user ‘root’@'localhost’ (using password: NO)

Follow below steps
Step-1 : If you are using phpmyadmin3.4.10.1 version than Go to C:\wamp\apps\phpmyadmin3.4.10.1.
Step-2 : Now open config.inc file
Step-3 : And find $cfg['Servers'][$i]['password'] = ”;
Step-4 : And replace with  $cfg['Servers'][$i]['password'] = ‘root’;
Step-5 : Now Save the file.

how to add google search box to my website?

How do i add google search bar onto my website?

Adding Google search box to my site

How can I add a Google search box to my Web site?

Click here to download code

Query for change date format in php from mysql

How to change date format in php from mysql

Change date format in mysql


SELECT *, DATE_FORMAT( date, ‘%Y-%m-%d’ ) AS dateformat FROM tbl_demo;

Note :

 tbl_demo is a table name.
date is a field of tbl_demo table.


Test How Your Page Looks In An iPhone, iPad And Mobile Devices From A Desktop Computer

Testing mobile application on desktop browser

Check mobile application on desktop browser

How to Test Mobile Web Pages on desktop browser

Refer following link


CKEditor not working on server

CKEditor would not run on server

CKEditor not working on arvixe hosting server

CKEditor works on my Local but Not Work on Server


Remove  .htaccess  file from CKEditor folder



how to send mail with multiple value of checkbox using php



<head><title>Send Mail</title></head>


<form name=”f1″ method=”post” action=”Send.php”>

<input type=”checkbox” name=”chk[]“   value=’One’>One  <br/>

<input type=”checkbox” name=”chk[]“   value=’Two’>Two

<input name=”" type=”submit” value=”Submit”  />








<head><title>Send Mail</title></head>



if($_REQUEST['chk'] == true){ // If one of the checkboxes checked
foreach($_REQUEST['chk'] as $value){
$chk.= “, “.$value;
$chk= substr($chk,2); // To remove “, ” from the beginning of the  variable

$subject = “Send mail using php” ;

$to= “Type here receiver mail id”;

$msg.= “<table width=’500′ border=’0′ align=’center’ cellpadding=’0′ cellspacing=’0′ style=’font-family:Arial, Helvetica, sans-serif; font-size:10pt; border:1px solid #ccc;’> “;

$msg.= “<tr>”;

$msg.= “<td height=’25′ bgcolor=’#F5F5F5′>&nbsp;</td>”;

$msg.= “<td height=’25′ bgcolor=’#F5F5F5′><b>Your Interest</b></td>”;

$msg.= “<td height=’25′ bgcolor=’#F5F5F5′><strong>:</strong></td>”;

$msg.= “<td height=’25′ bgcolor=’#F5F5F5′>$chk</td>”;

$msg.= “</tr>”;

$msg.= “</table>”;

$headers = “From: $email< Type here sender mail id >.”;

$headers .= “\r\nContent-Type: text/html; charset=ISO-8859-1\r\n”;

mail($to, $subject, $msg, $headers) ;

echo “<center><div align=’center’>”;

echo “<h1 style=’font-family:arial, verdana; font-size:15pt;’>Your mail has been sent successfully!</h1>”;

echo “  <br /> “;











My Joomla website showing its files and folder when opening in the browser.

How to fix the problem when joomla website showing files and folder.

Cause : The default page has not set properly, please check the .htaccess file

Read the rest of this entry »

My Joomla website hacked and showing this text “_shell_atildi_.

When I open my joomla based website it has displaying the text “_shell_atildi_.”
My joomla website showing an error “_shell_atildi_

Cause : In the Joomla website all the file are not independent and also they are using the default page as index.php which has more commonly used in the website development. As a result hacker will attack on those common name file and they make edit on the commonly used file.

Read the rest of this entry »