PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > The PowWeb Platform > MySQL
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 1-9-05, 11:45 AM   #1
Dabrowski
Work is bad.
 
Dabrowski's Avatar
 
Join Date: Feb 2004
Location: St. Mary's, KS
Posts: 1,158
Reputation: 60
Additional graphics built in to PHP/MySQL page

I recently switched a customer's site over from static HTML to PHP/MySQL. Previously, there were pages with a block of text that I had inserted some random graphics to add a little spice. Now, with the page being database-driven, it's not so simple to have the code occasionally insert a graphic every once in a while.

When you're dealing with several things in a database, and you want it to loop through the records, it's easy enough to give each record the option of having a photo associated with it. Thus, you'll see lots of pictures. But if it's a description of something, with lots of paragraphs of text, you would probably be using just one text field, so to add a picture to that would require more work.

As I write this, I remember something I thought would be a solution: Even if it's a large page with lots of text paragraphs, perhaps it could still be broken down into paragraphs with picture adding options. They wouldn't be able to, say, write a long description in a word processor and dump it in really easily into a text field--he'd have to do it paragraph by paragraph--but at least there'd be the option of having some pictures spattered here and there.

If anyone has any other ideas, I'm interested. But it seems that having a website forces a person to choose a balance between style, flexibility, and ease. Using FrontPage will give you ease and flexibility, but not necessarily style. And without putting in a lot of work for every tiny option, a user might sacrifice a little bit of flexibility to have a solid, database-driven site.
__________________
Benedict Dabrowski
Dabrowski is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 01:39 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.