MySQL
  Home arrow MySQL arrow Online Photo Album Development using P...
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
IBM Developerworks
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MYSQL

Online Photo Album Development using PHP and GD: Part 2
By: Frank Manno
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 31
    2004-04-22

    Table of Contents:
  • Online Photo Album Development using PHP and GD: Part 2
  • Code: Explained
  • Configurating
  • Connecting to the Database
  • 1,2,3, Testing

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Route your faxes to your email inbox. Private, secure fax numbers available from CallWave. Choose your fax number.

    Online Photo Album Development using PHP and GD: Part 2
    (Page 1 of 5 )

    In this part Frank will explain how to code the photo album using PHP and MySQL. This is the second part of his series and focuses on building the user interface.

    Before we can upload our images, we need to create our albums. Our album creation form is very simple. We will have 2 fields and 1 button: album name, album description, and submit. We'll call our script create_album.php:

     
    <p><!--p<-->include("../include/config.php"); 
    <
    br />

     
    <br />
    <br />
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
    <br />
    <tbody>
    <tr>
    <br />
    <td>
    <form action="add_album.php" method="post">
    <br />
    <p> </p>
    <br />
    <table id="addAlbum" cellspacing="0" cellpadding="3" width="60%" align="center" border="0">
    <br />
    <tbody>
    <tr>
    <br />
    <td valign="top">Add 
    <br />New Album</td>
    <br /></tr>
    <br /></tbody></table>
    <br />
    <table cellspacing="0" cellpadding="5" width="60%" align="center" border="0">
    <br />
    <tbody>
    <tr>
    <br />
    <td colspan="2" height="35">Please indicate the number of images you wish 
    <br />to upload to your album(s). If you would like to create a new album, 
    <br />click the Create New Album link below.</td>
    <br /></tr>
    <br />
    <tr>
    <br />
    <td> </td>
    <br />
    <td> </td>
    <br /></tr>
    <br />
    <tr>
    <br />
    <td>Album Name:</td>
    <br />
    <td>
    <input id="album_name" type="text" size="40" value="" name="album_name" /> 
    <br />
    <br />
    <br />
    <br /><a href="/administrator/edit_albums.php">Edit Existing Album(s)</a> </td>
    <br /></tr>
    <br />
    <tr>
    <br />
    <td>Album Description:</td>
    <br />
    <td><textarea id="album_desc" name="album_desc" rows="4" cols="30"> </textarea></td>
    <br /></tr>
    <br />
    <tr>
    <br />
    <td>
    <p> </p>
    <br /></td>
    <br />
    <td>
    <input id="submit" type="submit" value="Continue" name="submit" /></td>
    <br /></tr>
    <br /></tbody></table>
    <br />
    <table cellspacing="0" cellpadding="3" width="60%" align="center" border="0">
    <br />
    <tbody>
    <tr>
    <br />
    <td><a href="/administrator/index.php">Main Menu</a> | <a href="/administrator/new_album.php">Create 
    <br />New Album</a> | <a href="/gallery.php">View Gallery</a></td>
    <br /></tr>
    <br /></tbody></table>
    <br /></form>
    <br /></td>
    <br /></tr>
    <br /></tbody></table>



    >

    More MySQL Articles
    More By Frank Manno


     

       

    MYSQL ARTICLES

    - MySQL Table Prefix Changer Tool in PHP
    - Using the SIGNAL Statement for Error Handling
    - Error Handling Examples
    - Error Handling
    - Completing a Search Engine with MySQL and PH...
    - Paginating Result Sets for a Search Engine B...
    - Building a Search Engine with MySQL and PHP 5
    - Using Boolean Operators for Full Text and Bo...
    - PHP, MySQL and the PEAR Database
    - Working with PHP and MySQL
    - Getting PHP to Talk to MySQL
    - Creating an RSS Reader: the Reader
    - MySQL Security Overview
    - Creating the Admin Script for a PHP/MySQL Bl...
    - Creating the Blog Script for a PHP/MySQL Blo...

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway