briintex1
10-11-2004, 02:49 AM
I have a website that I have design that is suppose to pull information out of a database. Well when someone clicks on a link it is suppose to change the content of the website. Inside of the database in a table called Land_Pictures is this...
<form action="home.com/index.php" method="get" name="picture1">
<? $img=1.jpg ?>
<a href="" onClick="window.open('image.php?id=<?echo $img;?>', 'win1', 'width=300,height=350')">
<img src="<?echo $img;?>.jpg" height="221" width="200" border="0">
<form>
Well this is the same code that I have to work with other pictures. I also have other buttons that display other information from the database, so I know it is not my connection string or anything, but what this does is just show sort of an image place holder, but any help would be greatly appreciated...thanks
Brian
<form action="home.com/index.php" method="get" name="picture1">
<? $img=1.jpg ?>
<a href="" onClick="window.open('image.php?id=<?echo $img;?>', 'win1', 'width=300,height=350')">
<img src="<?echo $img;?>.jpg" height="221" width="200" border="0">
<form>
Well this is the same code that I have to work with other pictures. I also have other buttons that display other information from the database, so I know it is not my connection string or anything, but what this does is just show sort of an image place holder, but any help would be greatly appreciated...thanks
Brian