Hi everyone i have been trying to use lightbox with a script i have written which loops through the entries in a database the code below displays the image but i have no idea how to integrate light box to enlarge them, i have two images one a thumbnail and a full size image i have been scouring the internet and have not been able to find what i am looking for i would greatly appreciate any help
<?php
require ('conn1.php');
// Retrieve data from database
$sql="SELECT * FROM `pics`";
$result=mysql_query($sql);
// Start looping rows in mysql database
while($rows=mysql_fetch_array($result))
{
echo "<img src= url goes here/thimg/".$rows[1] .";
// close while loop
}
// close connection
mysql_close();
?>

