« Return to Thread: Displaying records from DB

Displaying records from DB

by Rahul-36 :: Rate this Message:

Reply to Author | View in Thread


I am fetching records from db and displaying those on the template
like this:-

<td><r:v name="name"/></td>
<td><r:v name="address"/></td>
<td><r:v name="description"/></td>
<td><a href="show?id=${v hotel_id/}">View Hotel</a></td>
<td><a href="edit?id=${v hotel_id/}">Edit Hotel</a></td>
<td><a href="delete?id=${v hotel_id/}">Delete Hotel</a></td>

Here i am passing the hotel_id to perform the desired action like
viewing the hotel for that particular hotel_id or edit or delete.

I am not getting as to where i need to these actions show, edit or
delete
for that matter. Or may be my approach is wrong.

Please guide me through this.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Displaying records from DB

 
 
 
Google
rifers.org web