I am having two problems, one of them odd and the other confusing.
Firstly I have basically the same code in two pages and in one page it works and in the other it comes up with an error.
echo "<td style='width: 800px'>" . '<img height="100" width="100" src="data:image/jpeg;base64,'.base64_encode( $row[photo] ).'" >' . "</td>";
This comes up with the error Use of undefined constant photo - assumed 'photo'. Which to me means syntax error but for the life of me I cannot work out what needs to be done.php/html syntax can absolutely baffle the hell out of me.
The second problem is just an odd problem.
a:link {
color: black;
}
Links are black.
a:hover {
color: #4cff00 ;
}
links turn green when the mouse is hovered on them.
a:visited {
color:black;
}
Links are no longer green when hovered over but instead are always black. I would like them to be green when hovered over but black at every other time, I cannot seem to get this.