Web Development and Tutorials

FaceBook Like profile edit with Jquery

I have written this simple application for readers who want Facebook like profile edit option in their web pages. the script is very simple & easy to understand. it needs a basic knowledge of Jquery and PHP.Please write to me if you have some suggestions or problems…..

updProf.php

<?phpinclude("../connect.php");if($_POST['prof']){ $prof=mysql_escape_string($_POST['prof']); $uid=1; mysql_query("update `fbusers` set `profile`='$prof' where `uid`='$uid'") or die("There is some problem.");}?>