I made a simple image loadig script.
After the image is done uploading, i wanted it to kick out a quick html syntax, that the client can copy and post into forums etc. without having to type or figure out the code.

here is my code:
right now i cant figure out how to get the " sign in the syntac, right now i have a ' if i put a " it will make the output look funny.


PHP Code:
            <td>HTML:</td>              <td><input type="text" name="thetext2" size="80" value="<a href='<? echo $domst .$domain .$drecks; ?>viewer.php?id=<? echo $imgf; ?>'><img src='<? echo $domst.$domain.$drecks.$tpath.$imgf; ?>'></a>"></td>            </tr>            <tr>