Display Dynamic Link In Address Bar
after the form has been posted I want to keep the querystring the same and not have it reset, i have this:
<form method=post name=main action="index.asp?MEMBER_ID=" <% Request.Querystring("MEMBER_ID") %>
but all i get in the address bar after "post" is this: index.asp?MEMBER_ID= without the member Id. how can i do that?
View Replies
ADVERTISEMENT
I have a form on my site that allows visitors to post comments, and also weblinks. These comments are then displayed on a comments page. Does anyone have a bit of code that will convert 'www.address.com' or 'http://www.address.com' to a clickable link (ie with a href in it) when it is displayed on the web page?
View Replies
View Related
I can't remember the code for email address link. The program will open up default email service when the user click on an email. Do you know what I'm talking about?
View Replies
View Related
I would like to build a dynamic link based upon a value returned from a db
There is data in the db because objRS("Description") returns a value.
something like
Code:
if objRS.EOF then
%>
<a href="/somepage.asp?id="<% objRS("Id") %> "><%response.write(objRS("Description"))%></a>
<%
else
end if
I get
http://localhost/somepage.asp?id=
Nothing else at the end.
What am i doing wrong?
View Replies
View Related
im trying to include a text file in an asp page
<!--#include file="somefile"--> this would normally do but i need to change some file with the file name stored in a db under the field name content, i have the content file name called back to the page in the variable content and i hopped that
<!--#include file="<%=content%>"--> would work
i am aware that the quotes make it a sql bit but i cant store " in the db can i
any ideas?
View Replies
View Related
I am getting "A dynamic link library (DLL) initialization routine failed" error
in IIS 6.0 on Windows 2003 server.
I have this same code working on WiN-NT.
Does anyone have an idea how to fix this?
View Replies
View Related
I have a dynamic table, with a column named "player" in this column is NBA player names - generated from a statistic database. I am hoping to be able to create a link on the players name that will direct the webuser to a profile page like the following:
http://sports.espn.go.com/nba/players/profile?statsId=3282
I am having trouble becasue the stat page is not by the player name but a numbered ID.
I tried using a player search like follows:
<a href=http://www.tsn.ca/nba/player_list.asp?name=<%=(Blair.Fields.Item("IDPlayer").Value)%>&Submit=GO ><%=(Blair.Fields.Item("IDPlayer").Value)%></a></td>
When I do this it only seems to search for the first name.
View Replies
View Related
I have an asp page that returns a table from my database. Only about 6 columns from the table are shown on this page. I have the ID column set up as a dynamic link to a 'details' page, so a user can view the rest of the record data.
My database has been growing rapidly, and now when the page is run i get the error "page cannot be displayed".
I believe this is due to how large my database table is because if i delete records the page works fine, as it did when the system was first running. Right now there are 4600 rows in the database and will be growing.
How do I fix this problem, I cannot get rid of any records.
Oh yea, and if i delete the line of code that contains the link, the page works fine and shows the entire table.
Here is the code for the link:
<A HREF="details.asp?<%= "JOB_NO=" & rsResults.Fields.Item("JOB_NO").Value %>"><%=(rsResults.Fields.Item("JOB_NO").Value)%></A>
View Replies
View Related
I have an Access table field that contains email data. I can display the contents of that field to a page, using, <%= (objRS("email")) %>, but I don't know how to make it a hyperlink when it's written to the page.how to display the data as a link on the page, instead of simple text? Do I have to modify the Db record, the page or both?
View Replies
View Related
I need to know, how can I display the global address book in a ASP page, so that then I can select one to send an email via ASP page.
View Replies
View Related
I have a SQL table that I am displaying dynamically...
The primary key of which is the ID, I have another table that I want to display as a subset of a row from the first table but only if they have the same IDs??
THe things I am trying are not working and I am sure I am missing an obvious step..
example:
ID GROUP NOTES
-- ------- -------
1 People None
- 1 Blah Blah Blah
- 1 Something else
2 People None
3 People None
- 3 Something here too
Sorry if I didnt do avery good job explaining but I am about fried out on this.
View Replies
View Related
i have this output from a recordset
<%=(RS1.Fields.Item("EMAIL").Value)%>
how can i change this so that it's a hyperlink and when a user clicks on it, it will show the email address in "send to:" in outlook.?
View Replies
View Related
Hi, I am trying to output an image using a filename from a database.
My code:
Response.Write("<img src='uploaded/" & bannerRecordSet("Banner_Image_File") & "'>")
Response.Write("<img src='uploaded/homepage1.jpg'>")
The first example works but doesn't display the image
The second example works and always displays the image
I don't know what is wrong with my code as the images are definitely on the server.
View Replies
View Related
I am rewriting from scratch some code done by previous programmer on a glossary for our website. I have a database with three fields, ID, Term, Definition and a table called glossary. I need to be able to display everything to the *same* ASP page.
I have already successfully created the db connection and the records display according to the SQL statement, i.e. where Term like 'a%'.
What I would like to do is to display each letter of the alphabet dynamically from the Term field as a hyperlink that will display the terms beginning with that letter, i.e.
A B C D .... Z
The terms would be displayed as hyperlinks and when clicked will display that term and the definition. If A were clicked: Code:
View Replies
View Related
a code snippet that I wish to create/use on 90% of my pages. I want each page to display their location to the user. Obviously I could do this by just hardcoding this in but I would prefer to create a mor dynamic template that automatically displays the relevant info. Examples of what i would like displayed is:
You are here: >> Home Page
You are here: >> Services > Update Personal Details
View Replies
View Related
I like to know how to write this specifc function on ASP where the user eg: display a set of records on the webpage. Example the data are ID, Name and address.
Lets say i display the data on the webpage and i set the Name as the <a href>. So when i click on the name, it will move to another page with the id of the specific name. Code:
View Replies
View Related
Permission denied. Address 'zzz.zzz.z.zzz' is not an allowable remote socket address.
What is the significance of this error, and what should be looked into to fix the problem?
(if this is of relevance: My sandbox is localhost.. so zzz.zzz.z.zzz is internal ip)
View Replies
View Related
I know how to create dynamic tables in dreamweaver to display fields and records in a table of a database, but in my case I need to create a dynamic table that lists all the tables in the database, then to click on the one i want 2 edit the data in there.
View Replies
View Related
has anyone got a function or subroutine which will remove blank out or remove email addresses.
i've wrote a function which will remove valid email addresses, it's pseudo addresses such as "blah @ blah.com" or "blah_at_blah_dot_com" or "blah_at_blah_._com"
the function is basically to stop users posting an email address in a message.
View Replies
View Related
I code that creates a calendar for each month and then it displays events from that month that are stored in a db. I need to loop through my recordset and display all the events, but I can't quite figure out how to do it. I am thinking I need to do an array. But I am not really sure.... any ideas. Here is where you can view the calendar. Code:
View Replies
View Related
Ok, I have a Javascript ASP and in it I have a dynamic repeating table with certain attributes to people. If one of these attributes is old or invalid, i want to change the color of the text (and maybe make it flash, blink, change size, something) so that it's easy to read.
View Replies
View Related
It it possible to get the MAC Address of the client PC using ASP. Also can I
get the HDD ID/Serial Number also using asp?
View Replies
View Related
i want to get the ipaddress,and the country name of a webpage
visitor,using asp.Net(C#).if anyone knows about it
View Replies
View Related
Is it possible to ban an IP address from global.asa, or by another method?
On a shared server, I'm seeing someone from China that appears to be trying to access my
site illegally (trying to access server root via cgi-bin).
Can I test for the user from global.asa and then execute a Response.End? Or is there
another way?
View Replies
View Related
What is the best way to pull a pc's Mac Address from a web page?
View Replies
View Related
Currently, I want to get the IP address from giving hostname in the Active Server Page. I know the hostname, I want to get the IP address via hostname in an ASP page.
View Replies
View Related
It it possible to get the MAC Address of the client PC using ASP. Also can I get the HDD ID/Serial Number also using asp?
View Replies
View Related
How can I get the IP Address of the system that the client uses through ASP. I used Request.ServerVariables("REMOTE_ADDR")to get the IP Address, but that always prints 129.0.0.0 as IP address but that's not the IP Address of the system. Tell me if there is if there is any other alternative.
View Replies
View Related
How can I retireve the IP Address in ASP as a string ?
View Replies
View Related
How do i pick the MAC address of a network card using ASP. Is it possible to identify a system e.g the mother board ID or processor using ASP or any other object.
View Replies
View Related
How do you find a Mac (Hardware) address using vb scipt in asp?
View Replies
View Related
It it possible to get the MAC Address of the client PC using ASP. Also can I get the HDD ID/Serial Number also using asp?
View Replies
View Related
Is it possible to check the Physical Address of the computer logged on the page in it's format like 00-08-E6-54-E4-9F ?
View Replies
View Related