Jump to content

LBY

Members
  • Posts

    5
  • Joined

  • Last visited

LBY's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Yea I know but he said to add links to the access directly so I'm not sure which way does he means, anyway both ways work
  2. LBY

    Percentage vs Currency

    If you want to change a number from a number to a precent you can just write the calculaiton yourself:for example let's take a poll system:Question: Do you like "Shimi"?A1: Yes (4 votes)A2: No (4 votes)How do you calculate the precents of the first answer for example?You take the number of votes for the first answer (4), divide it by the number of the total votes (8) and multiple it by 100:4 : 8 = 0.50.5 * 100 = 50%I'm not quite sure this is what you asked for so if it's not tell me and I will try to help
  3. If I understood you right then I'm pretty sure that you can just simply add to the database: "<a href="bla.asp">bla</a>" and then when you writeresponse.write RS.fields("Field name")it will make it a link
  4. You want a counter to check how many people read the article?Just make in your database another colum "Counter" and do that everytime someone enters the page it will add the same article Counter colum 1
  5. (I'm new here by the way, I started looking for English forums because all of the forums that are in my language didn't really help me..)Ok so anyway, I have been working on some kind of applicaiton in ASP for a long time, up until now I did all the programming part and now I'm starting to combain all of the pages with the design, here starts my problem.Usually I use IFrame in the design, but many people told me that IFrame isn't so good anymore and that there are better commands to use, so now there is my question, how are most of the sites on the internet built if not with IFrame?I tried to use Include, but I can't write:<!--include File=<%=Variable%>-->which makes a problem so I'm not using include,I tried to use server.execute, but I'm running into a problem because I can't pass variables trough the URL with it, for example:<%server.execute("Updates.asp?Mode=Read")%>won't workSo again my main question here is how to do it anyway?When you build a site, what do you use, and what is it acceptable to use in most of the sites?(I can manage to use Include or server.execute but it will make the code more complecated, so I prefer to check out if there is a better way before I do it)Another thing that is driving me crazy (at the same topic) is that for example in other sites the name of a news page is "News.asp", and I suppose they aren't placing all of the design in every page again, so again how they are doing it?(It's pretty much the same question as above)Thanks ahead! =}
×
×
  • Create New...