boyntonstu
-
Posts
4 -
Joined
-
Last visited
Never
Posts posted by boyntonstu
-
-
litebearer,
IT WORKED!
Many thanks.
-
Thanks for looking.
I will attempt doing what you advised.
Stu
-
I am 72 and just learning HTML and PHP.
I was forced to take over control of my wife's website: www.janlieberman.com
There is a photo gallery with thumbnails that expand to full size when you click them.
These photos are linked to a php file and I cannot get it to function.
I found a way to make the thumbnails work using direct html but that created another problem.
There is a slide show that runs too slow using the html rather than the php code.
This is the code that needs examining:
<?php
// id is defined in the other files
include "photos_db.php";
if ($Photos[$id]['title'] == '') {
$PageTitle = "Jan Lieberman - Photo";
} else {
$PageTitle = $Photos[$id]['title'] . " - Jan Lieberman Photo";
}
$FileName = $Photos[$id]['filename'];
include "header.php";
echo <<< EOF
<h1>Jan Lieberman - <font size="3"><a href="photos.html">Photo Gallery</a></font></h1>
<table class="list">
<tr><td align="center">
EOF;
if ($id != 1) {
echo '<a href="photo_' . $Photos[$id-1]['filename'] . '.html">< Previous</a>';
}
echo " ";
if ($id != sizeof($Photos)) {
echo '<a href="photo_' . $Photos[$id+1]['filename'] . '.html">Next ></a>';
}
echo '</td></tr>';
echo '<tr><td align="center"><img src="/images/' . $FileName . '.jpg" border="0" alt="' . $PageTitle . '">';
if ($Photos[$id]['title'] != '') {
echo "<br>" . $Photos[$id]['title'];
}
echo '</td></tr>' . "\n";
echo "</table><br>\n";
include "footer.php";
?>
Nubee With code problem. Help would be appreciated.
in PHP Coding Help
Posted
Hi,
I have not addressed the contact page.
The thumbnails needed to point to a PHP instead of an HTML,
There was a PHB data base for the 24 photos.
This is all brand new to me.
May I send you the contact page code?
Have you seen my inventions?
Thanks,
Stu Lieberman