need some help with some php code

Discussion in 'PHP' started by pasfile, Oct 16, 2007.

  1. #1
    could someone tell me what code to use to replace 'use embedded upload' in the code below to show an image instead of the text?

    thanks in advance!

    		<?php if( isset($_SESSION['privs']) && $_SESSION['privs'] >= getSetting('userperm_allowembed', $db) ){	echo "<tr><th></th> <td><a href='/?id=" . $_GET['id'] . "&embed=true'>use embedded upload</a></td></tr>";}
    	echo "</table>
    	</form>";
    PHP:
     
    pasfile, Oct 16, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    
    <img src=\"path/to/image.jpg\" />
    
    Code (markup):
     
    nico_swd, Oct 16, 2007 IP
  3. pasfile

    pasfile Active Member

    Messages:
    603
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    60
    #3
    thanks very much!
     
    pasfile, Oct 16, 2007 IP