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?
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?
<!--#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?
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.
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>
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?
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.
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:
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
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:
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.
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.
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:
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.
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.
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.
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.