tutorial101 is the one place for high quality web development, Web Design and software development tutorials and Resources programming. Learn cutting edge techniques in web development, design and software development, download source components and participate in the community.
XAMPP is a free and open source cross-platform web server package, consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages. XAMPP is also for localhost development and testing
If you want to know more and download the source follow the link below
Aptana Studio support AJAX, HTML, CSS, and JavaScript, which has made it a popular choice for web developers. Top features include excellent file transfer (FTP) capabilities over both SSH (SFTP) SSL (FTPS); code step-through and DOM inspection for JavaScript debugging; and Studio integrates with the Eclipse IDE.
If you want to know more and download, follow the link below
Facebook like Autosuggestion with jQuery, Ajax and PHP
Facebook like Auto suggestion
Facebook like Auto suggestion
Search.php
$mysql_hostname = "localhost";
$mysql_user = "root";
$mysql_password = "ednalan";
$mysql_database = "insurance_site";
$bd = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die("Could not connect database");
mysql_select_db($mysql_database, $bd) or die("Could not select database");
if($_POST)
{
$search=$_POST['searchword'];
$sql_res=mysql_query("select * from rme_insurance_agent where profile like '%$search%' or name like '%$search%' order by id LIMIT 10");
while($row=mysql_fetch_array($sql_res))
{
$name=$row['name'];
$img=$row['photo'];
$country=$row['country'];
?>
-> Select DOM elements eg: $('h1') ,$('div'), $('li')..
-> Select ID : $('#id_name') -> Select Class : $('.class_name') $("#header") = get the element with id="header"
$("h3") = get all
Fading Out and In : $(selector).fadeOut() and $(selector).fadeIn() Sliding Up and Down : $(selector).slideUp() and $(selector).slideDown() Sliding Toggle : $(selector).slideToggle() Custom animation effect : $(selector).animate()
attr() attr() method makes it easy to retrieve a property value from the matched element. $(selector).attr(properties); Eg Attributes: id, class, title, src, href, etc