Re: News story with image - help
| From: | Will Hives | Date: | Mon, 21 Jan 2002 13:49:20 +0000 |
| Subject: | Re: News story with image - help | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-81360@lists.php.net to get a copy of this message | ||
in article 20020121133606.GB4652@explodingnet.com, Nick Wilson at
nick@explodingnet.com wrote on 1/21/2002 1:36 PM:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> * On 21-01-02 at 14:32
> * Will Hives said....
>
>> I guess you must all be getting very bored with this type of question..but
>> away.. I have recently put together a simple news section which allows admin
>> people to add, edit and delete stories from the site...I would like to add
>> the function of adding an image to a story...I have managed to use the
>> upload image script ok but can't work out how to link the image to the story
>> ID.
>
> When you say link it, what would be the purpose? If you have many
> stories and many pictures that's one thing but if it's not so many then
> that is another.
> Presuming your id's are the keys to the database then perhaps you could
> re-name the image to include that key? (I have no idea off hand how to
> do this but I'm sure it's relatively simple)
Sorry when I say link I mean that the story has an image with it so when the
story header is clicked it shows the full story with image....does that make
any sense?
Will
>
> - --
>
> Nick Wilson
>
> Tel: +45 3325 0688
> Fax: +45 3325 0677
> Web: www.explodingnet.com
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
>
> iD8DBQE8TBlGHpvrrTa6L5oRAg/QAJ9Ust0H/IB6jqkipGY89rG+NVxvWQCcC20Q
> 1aZ/0iT5Knwy6G0e0hhiRmk=
> =Zmne
> -----END PGP SIGNATURE-----