Hi guys I have a question, I have a table of types of cars with the respective ID and Name, what I want to do is add an edit button next to each field and every time you click on a button redirects me to a page type_edit depending on the id of the car.
This is my code:
<%
if isArray(listaTipo) then
Response.Write("<div class='row-fluid sortable'>")
Response.write("<div class='box span6'>")
Response.Write("<div class='header'>")
response.write("<h2><i class=''></i><span class='break'></span>TABLA TIPOS DE AUTOS</h2>")
Response.Write("<table class='table table-bordered table-striped table-condensed'><thead><tr><th>ID Auto</th><th>Tipo de Auto</th><th>Accion</th></tr></thead>")
for i = lbound(listaTipo ,2) to ubound(listaTipo ,2)
Response.write ("<tr><td>"& listaTipo(0,i) &"</td><td>"& listaTipo(1,i) &"</td></tr>")
Response.write("<tr><td ><a class='' href='editar_tipo.asp'><i class=' fa-icon-edit'></i> </a> </td></tr>")
next
Response.Write("</table>")
Response.write("</div>")
Response.write("</div>")
response.write("</div>")
else
response.write ("<div class='alert' >")
response.write ("No existen registros de tipos de autos")
response.write ("</div>")
end if
%>
The table shows me this way and what I want is for the icon that is under the ID to be shown in action.