I'm a newbie and I am trying to create a very basic help desk system for my company.
The table below shows all the open tickets and I want to be able to click on a link to update the record.
I tried the following link, but it didn't work.
What do I need to use as a link to be able to update the record?
Thanks,
Scott
The table below shows all the open tickets and I want to be able to click on a link to update the record.
Code:
<table align="center" width="790" border="1" cellspacing="1" cellpadding="1">
<cfquery name="viewOpen" datasource="helpdesk" dbtype="odbc">
select *
from tickets
order by ticket_ID
</cfquery>
<tr>
<td>Ticket ID</td>
<td>Date Created</td>
<td>Employee</td>
<td>Category</td>
<td>Description</td>
<td>Tech</td>
</tr>
<cfoutput query="viewOpen">
<tr>
<td align="left">#ticket_ID#</td>
<td align="left">#date_created#</td>
<td align="left">#employee#</td>
<td align="left">#category#</td>
<td align="left">#description#</td>
<td align="left">#tech#</td>
</tr>
</cfoutput>
</table>
I tried the following link, but it didn't work.
Code:
<td align="left"><a href="update.cfm?ticket_id>#ticket_ID#</td>
What do I need to use as a link to be able to update the record?
Thanks,
Scott