Skip to content

Instantly share code, notes, and snippets.

@devloe
Forked from anonymous/hola
Created March 27, 2013 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devloe/5255617 to your computer and use it in GitHub Desktop.
Save devloe/5255617 to your computer and use it in GitHub Desktop.
<table cellspacing="0" class="table" style="margin-left:5px;">
<tr>
<th>Adjuntos</th>
<th></th>
</tr>
<tr>
<td>
<br />
<?
$SQL_query_init = mysql_query('select `archivo_nombre`,`id` from ' . TBL_FILE . ' where `cliente` like "%#'.$idclient.'#%"');
while($campi = mysql_fetch_array($SQL_query_init)) {
echo '<a href="../uploads/'.$campi['archivo_nombre'].'" target="_blank">'.$campi['archivo_nombre'].'</a> <input type="checkbox" id="'.$campi['archivo_nombre'].'" /><br /><br />';
}
?>
</td>
</tr>
<tr>
<td><input type="button" class="button" value="eliminar" /></td>
</tr>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment