Hiya
My pictures are stored on a mysql database.
I have an automated query where it selects all the pictures with the same $id and display all after each other. If you click on a picture it appears big in a new window, but you have to click on each one seperatly so that it appears big.
Any chance anyone could tell me how to build in a button into the opened picture to continue to the next one?
The code i have for the query is
$sqlab = "SELECT * FROM events order by sortierdatum_timestamp DESC";
$res = mysql_query("$sqlab");
$num = mysql_num_rows($res);
if ($num > 0)
//Daten auf dem Bildschirm ausgeben
//Tabellenbeginn
for ($i=0; $i<$num; $i++)
{
$j = mysql_result($res, $i, "jahr");
$d_t = mysql_result($res, $i, "sortierdatum_timestamp");
$z = mysql_result($res, $i, "zeit");
$li = mysql_result($res, $i, "link");
$id = mysql_result($res, $i, "id");
$datum = date("d.m.y", $d_t);
echo "<a class=klein href=right_aktivitaet.php?key=$id target=mainFrame>$datum</a><br>";
}
hope anyone can help me as to be honest i have no idea from php/mysql
Thanks