Thursday, July 28, 2011

How To Avoid The Google Panda

How To Avoid The Google Panda

Google panda is already rampant, google pandas eat anything she likes. Especially blogs that considered spammers, such as blogs AGC. How can we avoid the blog from google panda? I've got some tips that might help you avoid the blog from google panda.
But first, you must also know how to find blogs that hit google panda.

1. Do not use the blog AGC
As we know, the purpose of google panda is to take blogs that are not qualified and just copy and paste like blogs AGC. If you have a Google Adsense account, do not install ads on your blog AGC. Your account will be banned by Google.

2. Try not to write articles that are not qualified.

At least write original content is written according to the standard grammar and useful for visitors. For the article at least a minimum of 400 words in length. Indeed, it seems also to be debated because the algorithm is actually difficult to recognize a quality content or not, but with the amenities block websites especially in Google's Chrome browser where users can block a website, then just your visitors who will make an assessment if it turns out they were disappointed with consider your content or your blog contains content trash.

3. Avoid blogs from the Automatic Content alias Content Farm

Content like this is usually a lot is at an autoblog or blog that uses the script auto-generated content, otherwise known as blogs, AGC, where the content is usually not automatically have Google's quality standards and even tends to deceive the visitor is not relevant because the most severe or no content at all .

4. Avoid the Not Useful Pages Indexed by Google.

If before there was Google's algorithm changes Panda, has a lot of blogs on Google's index pages even better and will help increase traffic, but currently if your blog has a lot of index pages but the page is not quality content articles alias. So should you lose through Google Webmaster and perform optimization on your blog either by using the seo plugin or a robots.txt file

Examples of index pages that are useless and affect the quality of your blog is a tag page, archive page, search page, the page like about me, privacy policy, contact us and the page that is usually created by the plugin WP-PageNavi. This also applies to the pages of AGC.:)

5. Structure and Blog Navigation

Here if you use WordPress, the theme was instrumental in the structure and navigation according to the standard either of heading tags and the HTML structure as a whole and has a navigation layout that allows visitors to explore and spiderbot will improve the quality of your blog.


6. Internal Duplicate Content

Duplicate content occurs will reduce the quality of the blog is due to the content dicopas be raw by other blogs, but the most dangerous is the duplicate content is going on in your own blog. This usually happens with an autoblog where content that is created will be pulled out of our control but did not rule occur in the manual as a blog when you write an article when the article you have written with the title and content of the same content. Internal duplicate content can be overcome by using a plugin called "Delete Duplicate Post" that can be used on autoblog and use the tag canonical URL where plugins are already available at All In One SEO Pack which normally would be used by the WordPress Master.

7. External Link or Outbound Links

External links or links to other websites that are not relevant to your content or site that smells gambling, pornography, spam, phishing, malware will also cause deindex. In addition, the blog for paid reviews or selling links that many links are usually not relevant or have trash content also becomes a major factor deindex Google. As we know, Google hates the practice of selling links either to buy or sell and to avoid it, Google provides a solution NoFollow tag on an external link if it is not qualified or unrelevan with your blog content.

Thursday, July 14, 2011

Make Substitution Images in Gallery

Make Substitution Images in Gallery

In the traditional website if we want to change the image we have to jump to another page. Woaaa, Well you may have a portfolio that many in the form of images and you want to show without having to move around the page, you can make it with jQuery as follows:

Black wallpaper. For Example, click Here.

Here is a script that need to make changes to the jQuery image above:

//if you want when you click change to $(".imgthumbs a").click(function(){
$(".imgthumbs a").hover(function(){
var largeImage = $(this).attr("href");
var imgTitle = $(this).attr("title");
$("#largeImages").attr({ src: largeImage, alt: imgTitle });
$(".imgTitle").html(imgTitle);
return false;
});


The results of the above coding integration with css and html is as follows:

<script type="text/javascript">
$(document).ready(function(){
$(".imgthumbs a").hover(function(){
var largeImage = $(this).attr("href");
var imgTitle = $(this).attr("title");
$("#largeImages").attr({ src: largeImage, alt: imgTitle });
$(".imgTitle").html(imgTitle);
return false;
});
});
</script>
<style type="text/css">
h2.imgTitle {
font: bold 190%/100% Arial, Helvetica, sans-serif;
margin: 0 0 .2em;
}
#largeImages {
border: solid 1px #ccc;
width: 460px;
height: 300px;
padding: 5px;
}
.imgthumbs img {
border: solid 1px #ccc;
width: 100px;
height: 100px;
padding: 4px;
margin-right:8px;
}
.imgthumbs img:hover { border-color: #FF9900; }
</style>
<h2 class="imgTitle">Galeri Portofolioku</h2>
<p><img id="largeImages" src="../images_tutor/tjqai_1.jpg" alt="Large image" /></p>
<p class="imgthumbs">
<a href="images/wall1.jpg" title="Wallpaper Black"><img src="images/thumb_wall1.jpg" /></a>
<a href="images/wall2.jpg" title="Wallpaper Orange"><img src="images/thumb_wall2.jpg" /></a>
<a href="images/wall3.jpg" title="Wallpaper Green"><img src="images/thumb_wall3.jpg" /></a>
<a href="images/wall4.jpg" title="Wallpaper Blue"><img src="images/thumb_wall4.jpg" /></a>
</p>


Explanation jQuery code to change the image that I created above is as follows:

  1. $ (". imgthumbs a"). hover (function () {this is for pictures with the class declaration imgthumbs highlighted when the mouse pointer, you can change the hover with a click if you want at the click
  2. largeImage var = $ (this). attr ("href"); is defining largeImage variable with a value in the capture of the href attribute imgthumbs
  3. imgTitle var = $ (this). attr ("title"); is the defining variable imgTitle with values &#8203;&#8203;taken from the title attribute imgthumbs
  4. $ ("# largeImages"). attr ({src: largeImage, alt: imgTitle}); used to replace the image on the appointment id largeImages with predetermined variables (largeImage)
  5. $ (". imgTitle"). html (imgTitle); used to replace the text contained in the class imgTitle with predetermined variables (imgTitle)

Good luck

Tuesday, July 12, 2011

Visual Effects Animation Tutorial for Web Designers jQuery - Accordion and Substitution.

Visual Effects Animation Tutorial for Web Designers jQuery - Accordion and Substitution.

This article is a continuation of some tutorials that I post visual effects ever for web designers. Previously we have learned to make the slider, how to remove a div element as well as transition effects on the movement of an HTML element. Now let's learn how to make jQuery accordion and transfer images to the gallery.
Make jQuery Accordion

Indirectly you've probably seen the jQuery accordion applied in many websites, generally jQuery accordion is widely used to shorten the display news / product where we only see rows of headlines or the name of the product only, but when the title / name of the product we highlight later there is an element that contains a summary slide downward. jQuery accordion is very useful to save space page website especially if your site has content very much. I myself never used jQuery accordion on a few projects I'm working, here is an example of an accordion jQuery I made:



Code here !


Below I show the script that need to make jQuery accordion:


$(".news_accordion h3:last").addClass("active");
$(".news_accordion h3:first").addClass("noborder");
$(".news_accordion div:not(:last)").hide();
$(".news_accordion h3").hover(function(){
$(".news_accordion h3").removeClass("active");
$(this).toggleClass("active");
$(this).next("div").slideToggle(0).siblings("div:visible").slideUp(250);
});


Integrate the above coding with css and html below.

<script type="text/javascript">
$(document).ready(function(){
$(".news_accordion h3:last").addClass("active");
$(".news_accordion h3:first").addClass("noborder");
$(".news_accordion div:not(:last)").hide();
$(".news_accordion h3").hover(function(){
$(".news_accordion h3").removeClass("active");
$(this).toggleClass("active");
$(this).next("div").slideToggle(0).siblings("div:visible").slideUp(250);
});
});
</script>
<style type="text/css">
.news_accordion h3 {
background: #fff url(arrow.gif) no-repeat right -51px;
height: auto;
line-height:30px;
padding-left:5px;
font-size:14px;
font-weight:normal;
border-top: thin solid #cccccc;
margin:0;
border-bottom: 0;
border-left: 0;
border-right: 0;
cursor: pointer;
width:375px;
}
.news_accordion h3.noborder { border-top:none; }
.news_accordion h3.active { background-position: right 5px; background-color:#eee;}
.news_accordion div { height:75px; text-align:left; padding:5px 0 0 5px; width:375px; line-height:20px; font-size:12px; color:#555555; }
.news_accordion div a{ color:#000; text-decoration:none; }
.news_accordion div a:hover{ color:#F30; }
.news_accordion img { width:65px; height:65px; overflow:hidden; line-height:80px; }
</style>
<div class="news_accordion">
<h3><a href='#'>Title / Produck Name 1</a></h3>
<div>news summary<a href="#">more</a></div>

<h3><a href='#'>Title / Produck Name 2</a></h3>
<div>news summary<a href="#">more</a></div>

<!-- more your category -->
</div>



Explanation of jQuery code that I created above is as follows:

  1. The first row is $ (". news_accordion h3: last"). addClass ("active"); is used to add CSS class h3 active on the arrows to change the background position
  2. line to the two $ (". news_accordion h3: first"). addClass ("noborder"); used to eliminate the upper border (class = "noborder")
  3. to the third row $ ('. news_accordion div: not (: last)'). hide (); used to hide the child div of class news_accordion except the last child div: not (: last)
  4. The next row band is used to eliminate all active classes of elements h3, h3 add class active on the highlighted at the same time displaying a div underneath and at the same time hiding the div under h3 others who still perform with slideUp effects (slide up)

Monday, July 11, 2011

The things of Client Needs to Know Before Starting a Project Design

The things of Client Needs to Know Before Starting a Project Design

As a Web designer, of course, every client we have the uniqueness of each. however, there are some important things to be known and understood from the client so that we can produce our best work for them.

Effective website will be made by determining the business needs of clients, of course, requires a designer to truly understand many things about his client's business.

In my article this time we will see some things that should be discussed between designers and clients at the beginning of starting a project so that projects can achieve success. This topic is more emphasis on how to be able to know the business and the needs of our clients on our website, not to the employment contract, payment or deadline of the project design.

1. Purpose Of Business.

Almost every business has a client who runs Vision and Mission. Understanding the basis of why our client's business exists is essential if we want to design a website that truly reflects the business Kilen effective for the visitors.

If we do not understand the basis of our client's business, get answers from your client before starting your project. basic information may be too simple business our clients to be taken into consideration design, but without it, we can project the wrong direction.

2. Product specifications and Client Services.

Once we understand and understand basic business clients, the next important thing to know is what we offer our clients to their customers so that our clients get the income from his business.

Whatever type of website that we will create a good e-commerce or various other websites, it is very important to know what our clients offer to website visitors.

3. Demographics of Clients and Customers Clients.

Discussion of business products and services to our clients will mngarahkan further information about the clients and customers who will use our client's products. An effective website will focus on the user interface, so we as a website designer and so do our clients have to have an accurate picture of who will use the website and who will be interested in the business on offer from the website

Get demographic information about the client's business and its customers as much as possible, such as information about age, sex, occupation, income from the client will actually help us in determining the design style of the website.

4. Corporate Culture

A good website is a website that reflects the business. Thus to be able to create a good website, we must understand the culture of the company.

We can understand the company culture by visiting the company several times and observe if possible, or view the materials existing business such as brochures, business cards or advertisements our clients.

5. The need for location-location should be improved.

If our project is to redesign an existing website, the thing to note is that we are obliged to find out why they want to redesign their website and re-define what they are going to increase from the new design.

Sure it was deposited that you understand what our clients expect from a new website design, so the design of the website that we designed will be able to give satisfaction to our clients.

6. Determining Factors that could make a Fail or Succeed Project

A new design might be able to give satisfaction to our clients, but there are some important factors that determine whether we succeed in what projects to fail. As a designer, of course, important for us to make a good estimate with a design that will be made, we should be able to reflect the client's business and position the areas that allows the visitors in obtaining information company.

A new project is said to succeed if we level our clients increase sales, and increased website traffic or level.

7. Why Clients Choose us to design a website?

With so many freelance designers and consulting firms out there, surely we must know why they chose us. Whatever the reason our clients, we have to understand what is expected of our clients.

-------------------------------------------//----------------------------

Other Article :


Sunday, July 10, 2011

Preventing Fraud on Facebook


The attack phishing (online fraud) with Facebook growing craze. Internet security vendor Kaspersky Lab reveals that the malicious code spread through social networking sites are 10 times more effectively infected, compared with the distribution of malware via email.

"Phishing scam can succeed by pretending to be something that at first appeared legitimate to lure victims. Remain vigilant and do the proper precautions is the key to not get into their trap," said David Emm, a member of Team Global Research and Analysis Kaspersky Lab.

To overcome these phishing attacks, see the tips potent than Kaspersky, who quoted from the official statement on Friday (22/05/2009):


  1. For sites like Facebook, create a bookmark to the login page, or typing the URL directly in the browser address bar.
  2. Do not click on links in email messages.
  3. Only typed confidential data on a secure website.
  4. Check your bank accounts regularly and report anything suspicious to your bank.
  5. Find the giveaway signs of phishing emails: if it is not addressed personally to you, if you are not the only recipient of the email, if there are spelling errors, grammar or bad syntax or other stiffness in the use of language.
  6. Installing software for internet security and still update anti-virus.
  7. Install security patches.
  8. Be wary of email and instant messages are unsolicited.
  9. Be careful when logging the request Administrator rights.
  10. Back up your data.

Saturday, July 9, 2011

CSS Compressor


Compression on the CSS least able to improve the performance of your blog page loading and can also save bandwidth. If we are talking speed problem loading page, CSS Compress it's just one of the "seasonings" alone, there is no way as good as anything other than the optimization of the image size.


CSS Drive - CSS Compressor is a free service that provides three different levels of compression mode is Light, Normal and Compact. Or for those familiar with CSS you should use the Advanced Mode to benefit. How it works, try this CSS compression methods reduce the size by simply removing spaces, newlines, semicolons, and comments are not necessary. It would look cluttered, but useful if the CSS file of your website.

To restore the CSS file that is compressed into the original, you can use CSS Uncompress.

Friday, July 8, 2011

Configuration File ".htaccess"

Configuration File ".htaccess"

Apache web server has some configuration options that are available for server admins. In the space of a few shared hosting, you do not have access to the main Apache configuration, so you're stuck using the default configuration. But you could just replace some default settings to create / modify a file named .htaccess

.htaccess file is a simple ASCII text file that is located in the directory "www", or in a sub directory folder "www". You can create or edit a file in any text editor (Notepad) and then upload it to the directory you want to change the setting. Make sure that the file is uploaded in ASCII format, not BINARY. Make sure the file permissions for the file has been set to "644 (rw-r-r-)". This allows the server to access the file, but prevents the user to access the file from their browser.

The commands in the file ". htaccess" affect the directory it is located and all subdirectories. When you put the file ". htaccess" in the directory "www", then it will affect all of your website.

Almost all commands. Htaccess is designed to be placed in one line. If your text editor to auto-wrap (cut line), then you should disable the functionality. Note also that the command ". Htaccess" is case-sensitive.

Please note, we do not technically support overriding the default setting. The information here might not work. We suggest, first backup the original htaccess file.

Some things you can do with. "Htaccess", including:


1. Customize Error Messages

If you want to change the server's error pages, you can use. Htaccess to define your own messages. This capability is discussed in the Custom Error Message of the manual. Examples of this syntax is:

ErrorDocument 500 / error.html

2. Override SSI Settings

By default, only pages with the extension ". shtml" that could run a "server-side", including the SSI on the server. You can turn it on. Htaccess file.

If you want to change the configuration so that SSI will work with HTML documents, you can create file.htaccess and upload it to the main direkroti www. Add the following lines to the file.

AddType text / html.html
AddHandler server-parsed.html

If you want both.html and.htm to run SSI, create a file ". Htaccess", with the addition of the following lines

AddType text / html.html
AddHandler server-parsed.html
AddHandler server-parsed.htm

That the user can access your site with just a domain name only (http://www.site.net) without having to write the file name explicitly (http:www.site.net/file.html), you must have an index file in the directory www. The name of a file can be used include: index.html, index.htm, index.cgi, index.php, etc.. Make sure that the file named index .*

There are levels in naming them. If you have index.cgi named index.html in your directory, the server will display index.cgi, because. "Cgi" has a higher level than ". Html".

With. "Htaccess", you can define additional index filenames, or change the order of precedence. To define "hoeronymous.html" as an index page, add the following line to file. "Htaccess".

DirectoryIndex hieronymous.html

This will cause the server to look for a file named hieronymous.html. If the server find the file, then the server will display it. But if not, then the server will display an error 404 Missing Page

To change the order of levels, enter a DirectoryIndex command with the names of files in one line. The order determines the order of writing file2 levels, for example:

DirectoryIndex hieronymous.html index.cgi index.php index.html

3. Enable Directory Browsing

For security reasons, we have omitted the default settings that allow directory indexing. This is the option which allows the contents of the directory to be displayed in the browser when the directory does not contain an index page.

For example, if you create an "http call" to a dir like http://yourdomain.com/images/, then the browser will display a list of images in that directory.

If you require this option on a particular directory, you can activate it by adding the following line to the file "htaccess".

Options + Indexes



4. Block Users from Accessing Your Web Site

If you want to block access to some individuals, and you know the IP / domain name that he used, add the following line:


order deny, allow
deny from 123 456 789 000
deny from 456.78.90.
deny from. aol.com
allow from all


In the example above, a user with the IP 123 456 789 000 will be blocked. All the users of 456.78.90.000 to 456.78.90.999 would be blocked. And all users connecting from AOL.com will be blocked. If they try to access your site, it will show a 403 Forbidden error ("You do not have permission to access this site")

5. Redirect Visitors to a New Page or Directory

Suppose you re-create the entire website, to rename pages & directories. Thus, visitors to the old page will get an error 404 File Not Found. These problems can be solved by doing a redirect from old pages to new pages. For example if your old pages was "oldpage.html", and your new page is "newpage.html", so the command is:


Redirect permanent / oldpage.html http://www.mydomain.com/newpage.html

If you rename the directory, the command is:

Redirect permanent / olddirectory http://www.mydomain.com/newdirectory/

Note that the old directory name is written with relative paths, while a new one written with absolute URL.

6. Prevent Hot Linking and Bandwidth Leeching

To prevent others from linking directly to your image directory from their website, use:

RewriteEngine on
RewriteCond% {HTTP_REFERER} ^ $
RewriteCond% {HTTP_REFERER} ^ http:// (www \.)? mydomain.com / .* $ [NC]
RewriteRule \. (gif | jpg) $ - [F]

This will create a directory of images can only be accessed when the user is accessing www.mydomain.com

If you feel annoyed, you can create an alternative image if your image directory in-links. For example nosteal.gif image that reads: "stealing is Bad ... visit http://mydomain.com to see the real picture That belongs here." Then use the command:

RewriteEngine on
RewriteCond% {HTTP_REFERER} ^ $
RewriteCond% {HTTP_REFERER} ^ http:// (www \.)? mydomain.com / .* $ [NC]
RewriteRule \. (gif | jpg) $ http://www.mydomain.com/dontsteal.gif [R, L]



7. Prevent viewing of. Htaccess or other files

To prevent user access. Htaccess file, type the command:


order allow, deny
deny from all


If you want to prevent access other files, rename the. Htaccess file with another file name.

Hopefully Helpful.

-------------------------------//---------------------------------------------------

Other Our Article :


Thursday, July 7, 2011

Safe Trading Tips with Internet Banking.

Safe Trading Tips with Internet Banking.

Internet banking is one of the facilities provided by banks to facilitate its customers conduct financial transactions. So without the engine ATM can perform banking transactions such as transferring money, credit purchases, payment of electricity bills, water, telephone and so forth. This may be a new convenience enjoyed by customers who truly literate to advanced electronic technology. But for those in part, this feature is actually troublesome because they are not used to using it.

For those of you who are used to using internet banking, it helps you to be careful when doing virtual world transactions. Due to the easy access to information, software for hacking has bertebarang virtual world. Then how should reduce the negative impact of this incident? The following are tips on securing your internet banking transactions:

Do not do internet banking transactions such as public diarea cafe or wifi hotspots that are accessed a lot of people. Diarea like this, data theft can easily be done with various hacking techniques. And a technique often used is to use a keylogger and steal data passing through the network by posing as a gateway.
Select Bank gives token for internet banking. Here is a bank in Indonesia that I know gives tokens to Internet banking for its customers: BCA, Mandiri, BNI and BRI. By this token, you can reduce the risk of data theft and protect your account from some of the hacking techniques that you can learn hacking in several forums on the Internet.


Use a password that has nothing to do with your basic personal data. Basic data I mean the combination of date of birth, home address, Telphone number or anything else that can be known by someone else easily. As a solution, maybe you can use a combination of numbers that are generated from the number of shoes, pants size, and weight. For example number 42 your shoes, your pants size 31 and weight 65 kg. Then you've got a combination of passwords (423 165) that you can remember and is not easily known by anyone else who likes fun people to break the password.


Monday, July 4, 2011

Adsense Can't View on My Blog / Website. Here the solution :

Adsense Can't View on My Blog / Website. Here the solution :

Do you have a same problem with me ? If not, you can out from here and search other topic on google Search Engine. Now, What's the problem here ? My problem is :

1. Adsense ads can't view on my blog/website, because my language not support for andsense.
2. Adsense ads cant'n load or writing debug for our tag in artikel.

What a solution ?
Here, .
1. Go to http://www.google.com/friendconnect/
2. Log in with your Google account email.
3. Clik on Adsense on the left on the google Connect friend widget.
4. Found size adsense banner for you blog.
5. Get the Code.
6. Copy and Paste on your website.

Note : Don`t use or take place the same code on one page in your website ! Adsense ads can't view if you take place the same code for size adsense banner.

Make edit profile like facebook with ajax & php.



Well, here I will discuss about it with the makers php and ajax jquery. After touring on google I found a web that discuss this.
Start the first step. In order for these applications can run properly must be first downloaded the jquery file here or here

Create a database first.

other article :

Database

CREATE TABLE IF NOT EXISTS 'users' ( 'user_id' int(11) NOT NULL AUTO_INCREMENT, 'username' varchar(45) NOT NULL, 'password' varchar(45) NOT NULL, 'profile' text NOT NULL, PRIMARY KEY ('user_id') ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;

then, create a php file to connect to the database.
<? Php $ Host = "localhost"; $ User = "root"; $ Password = ""; $ Dbname = "tutorials"; $ Connect = mysql_connect ($ host, $ user, $ password) or die ("sorry there is nothing wrong to get into the database". mysql_error ()); mysql_select_db ($ dbname, $ connect) or die ("sorry there is nothing wrong to get into the database". mysql_error ()); ?> {Codecitation class = "Brush: xml; Gutter: false;" width = "500px"} create a file called update.php, it will be useful for primary file. <strong> update.php </ strong> {Codecitation class = "Brush: xml; Gutter: false;" width = "500px"} <! DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Transitional / / EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> Facebook profile </ title> <script type="text/javascript" src="/jquery-1.4.4.min.js"> </ script> <script type="text/javascript"> $ (Document). Ready (function () { / / The edit link $ ('. Edit_link'). Click (function () { $ ('. Text_wrapper'). Hide (); var data =$('. text_wrapper '). html (); $ ('. Edit'). Show (); $ ('. Editbox'). Html (data); $ ('. Editbox'). Focus (); } ); / / Mouseup textarea false $ (". Editbox"). Mouseup (function () { return false } ); / / Edit content textarea $ (". Editbox"). Change (function () { $ ('. Edit'). Hide (); boxval var = $ (". editbox"). val (); var dataString = 'data =' + boxval; $. Ajax ({ typr: "POST", url: "update_profile.php", data: dataString, cache: false, success: function (html) { $ ('. Text_wrapper'). Html (boxval); $ ('. Text_wrapper'). Show (); } }); }); / / Edit text without $ (Document). Mouseup (function () { $ ('. Edit'). Hide (); $ ('. Text_wrapper'). Show (); }); }); </ Script> <link rel="stylesheet" href="/css.css" /> </ Head> <body> <div class="mainbox"> <a href="#" class="edit_link" title="Edit"> Edit </ a> <! - Shows the profile data from user table -> <? Php include ("db.php"); $ User_id = $ session_id; $ Sql &#8203;&#8203;= mysql_query ("select profile from users WHERE user_id = '1 '"); $ Row = mysql_fetch_array ($ sql); $ Profile = $ row ['profile']; ?> <div class="text_wrapper"> </ div> <div class="edit" style="display:none"> <textarea class="editbox" cols="23" rows="3"> </ textarea> </ div> </ div> </ body> </ html>

then create a file update_profile.php, this serves to action that will happen.

update_profile.php


<?php include ("db.php"); if ($_POST['data']) { $data=$_POST['data']; $data= mysql_escape_string($data); $user_id=$session_id; $sql = "update user set profile='$data' where user_id='$user_id'"; mysql_query($sql); } ?>

css file to make it last. Here :

@charset "utf-8"; /* CSS Document */ body{ font-family:Arial, Helvetica, sans-serif; font-size:12px; } .mainbox{ width:250px; margin:50px; } .text_wrapper { border:1px solid #0099cc; padding:5px; width:187px; } .edit_link { float:right; } .editbox { overflow:hidden; height:61px; border:1px solid #0099cc; width:190px; font-size:12px; font-family:Arial, Helvetica, sans-serif; padding:5px; }