[size=10pt][font=arial]Hi, this is a basic question but I’m stuck on it. I am reading document names from a mysql database to the php page in a list.
If the user is logged in (i.e. is the admin), I want an ‘info’ image to be displayed to the right of the document name which they can then click on and it directs them to another page which gives information about the file.
I can get the image to display but I would like it to be on the same row as the document name i.e. on the right hand side of this line [php]
The code is below:
[php]$body .= ’
‘.$name.’
(’.byte_format($row[‘filesize’]).’)’;
if(Auth::isLoggedIn()){
echo’
‘
Thanks in advance![/font][/size]