Forums

This topic is locked

Pictures in MYSql server

Posted 07 May 2004 02:11:11
1
has voted
07 May 2004 02:11:11 Kai Braatheb posted:
I’m making a page for a friend. He will add some text an upload some pictures to the page. All this is saved in MySql. He have the possibility to upload 5 pictures to each text. If he the only upload 2 pictures we will have some boxes with a red x.

Then I made this.

and I believe I have forgotten something.

<?php if($row_Bilder['bilde1'] != "" { ?> <div align="center"><a href="<?php echo $row_Bilder['bilde1']; ?>"><img src="<?php echo $row_Bilder['bilde1']; ?>" width="80" height="80" border="0"></a></div> <?php } ?></td><td width="103"> <?php if($row_Bilder['bilde2'] != "" { ?> <div align="center"><a href="<?php echo $row_Bilder['bilde2']; ?>"><img src="<?php echo $row_Bilder['bilde2']; ?>" width="80" height="80" border="0"></a></div> <?php } ?> </tr>


This is almost working.

the only thing is that picture nr 1 ($row_Bilder['bilde1') will not show on the page. But picture 2 is working. STRANGE

This has been killing me. I need really some help.


Take a look.

www.vanvara.net/BilderTest2.php

Edited by - Kai74 on 07 May 2004 03:20:27

Replies

Replied 11 May 2004 11:38:39
11 May 2004 11:38:39 Vince Baker replied:
Hi Kai,

You may get more replies if you post this in the PHP section.

Try that.

Regards
Vince

Visit my home: www.chez-vince.com

VBScript | ASP | HTML | SQL | Oracle | Hosting

Reply to this topic