Re: PHP mySQL - table of images

adam_at_adamcoppin.com
Date: 10/28/04


Date: 27 Oct 2004 18:55:51 -0700

the table should be reasonably simple, just 3 columns:

image_id (auto incrementing integer)
image_name (string of pre-determined length)
image_url (absolute or referential, either way this would be a
string... be sure to give it plenty of room though!)

That should be all you need... if you are finding yourself needing yet
more information at a later date, columns are easily added to existing
records. this method should allow you to retrieve the image url by
referring either the image_id or the image_name



Relevant Pages

  • Re: Generating an Index
    ... Absolute power corrupts absolutely. ... > the records are in order of "string distance" or similar. ...
    (comp.databases.ms-access)
  • Re: Relative path to absolute
    ... If blah.exe is in the same folder as your app, ... You can use the following to strip the filename; ... Function StripName(name As String) As String ... > Is there an easy way or maybe a function i can call to get the absolute ...
    (microsoft.public.vb.general.discussion)
  • Re: Relative path to absolute
    ... Private Function AbsFromRelativePath(StartPath As String _ ... Dim sRelativePath As String ... > I have a VB application that reads INI file for all the objects that it ... > Is there an easy way or maybe a function i can call to get the absolute ...
    (microsoft.public.vb.general.discussion)
  • Re: Digital encoder output question
    ... it right as basically your choice of pot, incremental or absolute ... I designed a "spring and a string" with an ... commercial solution for the end product. ...
    (sci.electronics.components)
  • Re: if command
    ... > For a string value? ... > Ken Slovak ... Absolute Beginner's Guide to Microsoft Office Outlook 2003 ... > Reminder Manager, Extended Reminders, Attachment Options ...
    (microsoft.public.outlook.program_forms)