- This topic is empty.
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I am currently stock with my problem , I can’t display the image don’t know why but please help me
for($i=0; $rows = $results->fetch(); $i++){
//echo ‘<?php
if($dsds=='Commissoner'){
echo $rows['prog_id'].$rows['prog_id'].' '.$rows['prog_name'].' = '.$rows['votes'];
}else {
echo'<?php $src=array("candidates/images/".$rows["image"]); for($i=0;$i<3;$i++){ ?>';‘;
echo ‘” class=”image-inner” />’;
//echo '<img
src=”candidates/images/’.$rows[‘image’].'” width=”70″ height=”80px” />’.’, ‘.'<br>’.$rows[‘lastname’].’, ‘.$rows[‘firstname’].'<br>’.’ = ‘.$rows[‘votes’];
// echo ‘
<
div>’;
// echo '<br>';
}
$sdsd=$dsada
?>
<!-- <img />'height='10'>-->
<?php
if ($rows['votes']==0){
echo "<br>";}
else {
// echo(100*round($rows['votes']/($sdsd),2)); /
/*?>%<br>*/
`
/<em><?php
}
echo ‘</div>’;</em>/
}
}
?>
<?php
}
?>“
Here’s my css
.image-inner {
position: relative;
width: 350px;
display: inline-bloxk;
}
My only problem how to display my image horizontally from db