Click to See Complete Forum and Search --> : CMS built in PHP and MySQl


bajanboost
10-29-2006, 10:33 AM
I built a website that is Database and PHP driven.

However, I must login to phpmyadmin to make database entries and then I must use an FTP program to upload the images.
I find this rather hard and wanted to make a CMS. A custom CMS and I finally decided now is the time to learn to do it.

I read the image upload script posted here: http://www.webdeveloper.com/forum/showthread.php?t=101466

But now, I want to be able to make database entries and upload images from a webpage!

Advice?

p.s. I want images uploaded to relate to certain database entries.

e.g. Database Entry in the Car Table:

Title -> 1998 Toyota Corolla.

Image1 -> Upload Image using ImageUploader by Bokeh, and automatically place the image name within the database so it can be pulled.

(in the above example, Title and Image1 are database fields where image1 is a field used for the image name such as 0399.jpg)

Then I want to upload an image (any image), so that when I check the webpage output, it has 1998 Toyota Corolla, and then the image. Help?

so_is_this
10-29-2006, 05:39 PM
Since the answers on this site just come from other visitors like yourself, I'm sure you'll understand that most people don't wish to tackle complete solutions such as what you've laid out. Most people will only answer those things that take about 5 or 10 minutes to answer. So, can you narrow things down a bit?

bajanboost
10-30-2006, 12:50 AM
Write to a database from a webpage interface and upload an image from a webpage interface. When the image is upload it must correspond to a field in the database by outputting its name to the database.
I want to accomplish this in PHP and MYSQL.

Reli4nt
10-30-2006, 02:16 AM
Do you know how to write sql queries? If not you'll need to find a tutorial on it. Basic SQL can be very simple and quick to learn.

The rest is really just creating a form and validating the data that the user submits.

To learn how to write a form just look at other people's code.

validating data is a little more complex and depends on the data being entered, the source, and what you need to do with it.

php_hazard_01
10-30-2006, 02:24 AM
you can learn how to make sql queries via php page , or basic image uploading here....

http://www.php-mysql-tutorial.com/

hope it helped...
Im practicing PHp myself, IM trying to make a forum system...d'oh....I didnt know it was that hard.....wahh...