Re: file upload with story
| From: | Jason Wong | Date: | Tue, 22 Jan 2002 02:37:23 +0000 |
| Subject: | Re: file upload with story | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81475@lists.php.net to get a copy of this message | ||
On Tuesday 22 January 2002 07:00, will hives wrote:
> Please can someone help, I can't find any answers anywhere....
>
> I have this code:
>
[snip]
>
> it's really just an online contacts book, what I want to do as have the
> ability to upload an image with the record.
>
> Then when the contact details are viewed it shows the also uploaded image.
>
> How do I add that code into this...any help would be fantastic.
See manual chapter "Handling File Uploads".
If each contact is only allowed 1 photo then there shouldn't be any need to
alter your database structure. When the photo is uploaded just rename it to
"id".
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
Blessed are the forgetful: for they get the better even of their blunders.
-- Nietzsche
*/