Upload a image to a folder and its name to a database

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
leandro_brazil
Forum Newbie
Posts: 2
Joined: Wed Jan 26, 2005 6:35 am
Location: Brazil

Upload a image to a folder and its name to a database

Post by leandro_brazil »

Hi!

I`m tryng to do a thing almos a 3 months, but without success.

I´m needing a lot, to to a upload a image to a folder, and the name of it need to go to a database.

I work with php and mysql

Someone know how I can to do it?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Maybe you'll have better luck in the volounteer forums. These board are for technical PHP problems.
snicolas
Forum Commoner
Posts: 97
Joined: Tue Nov 09, 2004 8:32 am

Post by snicolas »

leandro_brazil
Forum Newbie
Posts: 2
Joined: Wed Jan 26, 2005 6:35 am
Location: Brazil

Post by leandro_brazil »

Hi!

Uau, its function perfect

now I need only to send the name of the image to the database [ MySQL}

I have a table +/- that:

id....
foto...
txt....
font....
date...


but how?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

hi! there's a great site for finding out how to add data to a table in MySQL: http://dev.mysql.com/doc/mysql/en/

search for INSERT.



:roll:
Post Reply