Search found 2 matches

by viajero
Fri Mar 31, 2006 12:33 am
Forum: PHP - Code
Topic: Database path store.
Replies: 3
Views: 328

so would this work:

Code: Select all

$filename = $file['tmp_name']
$path = move_uploaded_file($file['tmp_name'], 'images/' . $filename);

$sql = "insert into user_art
                  (title, caption, path) values
                ('$name', '$caption', '$path')";
??
by viajero
Fri Mar 31, 2006 12:15 am
Forum: PHP - Code
Topic: Database path store.
Replies: 3
Views: 328

Database path store.

Alright, how in the world can I do this: uploadforms.php - A form where you simply input a title, choose a file to upload, add a comment for the file, and select a catagory for the file. All of this info is then passed onto upload.php upload.php - this takes the info from the forms puts it in a data...