?
Solved

code missing for updating a table

Posted on 2000-03-19
7
Medium Priority
?
219 Views
Last Modified: 2010-04-09
I copied this homepage from a local web site. But there was something missing in this homepage. I want to see the user press the button. And an update then will be made to the table above the input table! please come in here to see the situation.

http://home.netvigator.com/~luckie

0
Comment
Question by:whluk
7 Comments
 
LVL 2

Expert Comment

by:kikkertm
ID: 2633153
Do you want it done serverside or clientside ? If serverside, can you use ASP or CGI (perl e.g.) ?
0
 

Author Comment

by:whluk
ID: 2633258
Which one is the most convenient way?
A simple solution will do! (this is a fake homepage for a television drama)
(perhaps clientside)
Thanks
Jacky
0
 
LVL 1

Expert Comment

by:lambda
ID: 2634789

I am not sure I understand the problem...
Can you explain more clearly please ?
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
LVL 4

Expert Comment

by:FRehman
ID: 2635196
pl write in brifly what you want
0
 

Author Comment

by:whluk
ID: 2635265
What I would like to do is to make a new row on top of the table after the user presses the bid button... probably gets refreshed after the event...
0
 
LVL 4

Accepted Solution

by:
FRehman earned 200 total points
ID: 2635362
when some one bidding then at last the values are to be saved in database then you can simply refresh the page for this purpose you have the asp page which run server side and display the record on client side
<%
set Conn=server.createObject("ADODB.Connection")
Conn.open "test"
strsql = "SELECT * FROM GRCRoomNights " 
set desc = server.CreateObject("ADODB.Recordset")
desc.Open strsql,Conn, 3
%>
<html>
<body>
<table>
<% while not desc.EOF %>
<tr>
<td><%=desc("Name")%></td>
</tr>
   <% desc.MoveNext
   Wend%>

</table>
</body>
</html>
0
 

Author Comment

by:whluk
ID: 2643410
thank you
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question