Forums

This topic is locked

php upload script? name in mysql recordset.

Posted 13 Jul 2004 01:38:30
1
has voted
13 Jul 2004 01:38:30 Chase Rage posted:
I built a small php upload script from this tutorial "www.phpcountry.uni.cc/show.php?id=9" but i was wondering, what i would have to change so that when i upload the file it puts the files name and extension (i.e bring.jpg) in a mysql recordset that i have set up?

Replies

Replied 09 Aug 2004 22:41:15
09 Aug 2004 22:41:15 Olaf Lederer replied:
Hallo,

you can use $_FILES['upload']['name'] as the for your file name. Locate the GetSQLValueString entries, you can change every variable to use it inside the sql-string. If you have further problems then post some of your code here.

www.finalwebsites.com

Edited by - olaf2 on 09 Aug 2004 22:45:36

Edited by - olaf2 on 09 Aug 2004 22:50:12

Reply to this topic