Category: AJAX

A to Z PHP and MySQL Tutorial

PHP MySQL Connect to a Database Create a Connection to a MySQL Database Before you can access data in a database, you must create a connection to the database. In PHP, this is done with the mysql_connect() function. Syntax mysql_connect(servername,username,password); Parameter Description servername Optional. Specifies the server to connect to. …

Continue Reading

SlideShow

The following is a small demo, a slideshow from images. This demo was created with a new JavaScript library, JQuery. JQuery library is known for making JavaScript coding fun. When using this demo you must keep the copyright notice for each Interface’s JavaScript source file. <pre class=”brush: php; highlight: [5, …

Continue Reading

FishEye

Have you ever look through a glass? This demo is exactly that effect of enhancing the image behind the glass, the Fisheye. It’s not flash, only pure JavaScript. <html> <head> <base href=”http://www.ajaxdaddy.com/web20/jquery/interface-fisheye/”> <style type=”text/css”> body {color: white;background: #52616F;} a { color: white; } </style> <meta http-equiv=”Content-Language” content=”en” /> <meta http-equiv=”Content-Type” …

Continue Reading

iCarousel

One of the most common problems a web developer usually face is related to continuously rotate a fragment of content. It can be a presentation of headlines, small fragments of news or a list of thumbnails. The nature of the thing being rotated doesn’t matter too much here because all …

Continue Reading

Side Notes

It’s all about tangents. No, not those kinds of tangents. We’re talking about the kind where you’ll be sharing a thought and you sort of, umm, go off elsewhere. Some people call them asides, digressions, departures…you get the idea. We are of the belief that footnotes – at least the …

Continue Reading

Ajax Example

The AJAX application above contains one div section and one button. The div section will be used to display information returned from a server. The button calls a function named loadXMLDoc(), if it is clicked: <html> <body> <div id=”myDiv”><h2>Let AJAX change this text</h2></div> <button type=”button” onclick=”loadXMLDoc()”>Change Content</button> </body> </html> Next, …

Continue Reading