HTML - Using Sysdate To Comment Out In The Future
Hi there--
I need to commend out a single line of code in the future. The file is a plain .htm file and needs to have a section of it commented out using sysdate of August 1, 2009. Can anyone help me? Im thinking php but I am not too skilled past there. Thanks Similar TutorialsI was really wondering what would be the future of html, that css and php has become so popular. I hardly see anyone using HTML. Even if it is, then it is XHTML and not HTML. Will it become extinct in the future. Just curious..... So I posted this before on a different website, but it wasn't exclusive to HTML, so I decided to post this here where I can get more opinions and input from a larger group of web savvy people: So currently I've been using XHTML 1 Transitional for about half a year now (I've only been developing websites for that long), but there are so many other different types, such as XHTML 1 Strict, HTML 4 Transititional, HTML 4 Strict, that I'm now confused and don't know which to stick with in order to be best prepared for the future. I did a lot of research on the web and I've hard arguments for both sides... stick with XHTML... switch to HTML.... So which is the better choice and why? Apparently XHTML was supposed to be the future, but then there is now HTML5 in development and a lot of the browsers seem to be leaning towards that.... Than there is also XHTML 2 in the works.... *sigh*... I'm so confused... So what should I do? Should I stick with my current knowledge of XHTML 1, or switch to writing in HTML 4? And then somebody responded and told me to go read up on HTML5 in Wikipedia, and I did, then I responded: So I read the Wiki link; basically the conclusion I got is that HTML5 will be both HTML and XHTML ("XHTML5") compliant? Well... then I guess I have nothing to worry about? Then somebody else (who visits htmlforums.com) responded and told me it best to stick with XHTML. And told me to use Strict instead of Transitional. He then refered me to htmlforums.com. And now I'm here posting this post And FYI, my websites uses much dynamic content and also iframe... so it best I stick with XHTML Transitional? Hello. I have a small script developed for tracking sales. The script randomly generates a "transaction ID" by creating a random number when a user visits the thank you page. It works great, however there is one problem: when a repeat user comes back, it generates a NEW transaction ID and logs a second "sale" when in fact its just a repeat visit. How can I modify this script to remember the transaction ID for each user? I was thinking creating a cookie with the transaction ID would be the simplest way, however I'm not sure. If you can help me decide which way is best, and then show me how to implement this I will be very greatful. Basically I think I would need some sort of second variable, and a script that runs to check for a cookie. If cookie is present, replace "$random_number" with "transaction ID". else if no cookie is present, generate a new number with $random_number. Heres the code: Code: <!------- Random Number Generator For Pixel ----------> <?php srand ((double) microtime( )*1000000); $random_number = rand(0,100000); echo "<script src='https://users.domain.com/sale_third/49.95/$random_number/OPTIONAL_INFORMATION'></script> <noscript><IMG SRC='https://users.domain.com/track_sale/49.95/$random_number/OPTIONAL_INFORMATION'></noscript>"; ?> <!------- End Random Number Generator For Pixel ----------> Thanks in advance. What is the use of comment tag and why we are using. Can any body explain it. Thanks _______________________________________ Hey does anyone know where i can get a comment box for my website that is free? Hi! I want to create a comment box on my website that sends a message to my e-mail, and gives each comment a unique code and sends it with the comment to my e-mail Is this something you guys can help me with? I appreciate any help i am makeing a pic website like funnyjunk.com and i need a comment box like that if you could provide a code that would be really help full i need a scrilpt for very simple comment box that dosent need a data base that will just run from the script on the page please help thanx Hi, was wondering if anyone could help me with a bit of html. I would like to put a little comment box on my site for people to leave messages [where the messages stay up and the newest are visible when the page is refreshed.] I'm not sure what the technical term for it is, but i'd like some help. site is www.kerinewton.com [the empty space to the left is where i'll be putting it.] thanks! -keri Hi, how would i got about setting up a place where people can leave comments on my website? Hi There I have a slight problem with a project i am working on which i really do hope somebody can help me. I wanted to build a tracker for my work and have been kindly given a copy by a friend of mine who works with me the problem is that i have added a comment box to the page and i want to remove the submit button as my page already has a submit button which sends the other info in it to txt file. Secondly i want to be able to link my comment box to that txt file so all the data is in one place. I am so sorry for posting such noobie question and would so much appreciate if somebody could help me out. Regards Craig Basically, at the end of each article, I want to have a comment box that goes good with my site's style. Here's one of the articles from my site, and if I could get one that goes good with my color scheme, that would be great: http://celticsinsider.webs.com/14march2010.html I want to make a comment box, but I am new to HTML, and do not know much on it, I tried to make it save and load the comments from a text file, but, I do not know how. A little help please hello all, I have this code for my page: Quote: <form action="mywebsiteurl" method="post" > <div align="center">Name: <input type="text" name="name" size="30" /> <br /> <br /> Comments / Suggestions?<br /> <textarea name="improve" rows="15" cols="75"></textarea> <br /> <input type="submit" value="Post feedback" /> <input type="reset" value="Sh*t - Reset" /> </div> </form> I want there to be comments/suggestions as well as the results of what visitors posted to be on the same page - how can i do this? does this original html need to be edited? if what i need is css or php, please provide the codes because i do not have any knowledge of anything other than HTML...Please get back to me ASAP Thanks- take care Thanks in advance, please get back to me ASAP - Take care -jimb0 ps. i want the results to look like: Name Comments/ Suggestion that people posted the date which it was posted | and the time it was posted at (if possible) I am making a site consisting of articles, and i need comment boxes to comment on the articles, so please a simple comment box, with no smilies or anything, and a possible way to mod it if i get innappropriate comments, please, i need this quikly! Hi I am looking at some HTML source that contains a tag labeled as 'comment'. For example: Code: <comment id="bar" value="foo foo foo..."></comment> What is the purpose of such a tag? Where in the HTML standard is it defined? Thanks Currently my site uses a frame to seperate the sidebar and content. I've recently managed to get it viewing fine with a handy piece of css in Opera, but in IE is shows part of a comment (-->). Problem is the new page is valid according to the w3 validator, and if I remove the comments then it won't be valid. Here is the entire page: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <meta http-equiv="Content-Language" content="EN-GB"> <link rel="stylesheet" type="text/css" href="theme.css"> <link rel="shortcut icon" href="../favicon.bmp"> <title>Revelations of the Ancients</title> <meta name="keywords" content="xrealms x-realms rota revelation ancient revelations ancients game online rpg orpg 2d xr"> <style type="text/css"> <!-- html, body {margin:0; padding:0; height:100%} #container {min-height:100%; position:relative} #header {padding:10px} #body {padding:10px; padding-bottom:160px} #footer {position:absolute; bottom:0; width:100%; height:160px} #header p, #header h1 {margin:0; padding:10px 0 0 10px} #footer p {margin:0; padding:10px} --> </style> <!--[if lt IE 7]>--> <style type="text/css"> #container {height:100%} </style> <!--<![endif]--> </head> <body> <div id="container"> <div id="header"> // </div> <div id="body"> </div> <div id="footer"> <p> <font size="2pt">This site uses:</font><br> <a href="http://jigsaw.w3.org/css-validator/" target="_blank"> <img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"> </a><br> <a href="http://validator.w3.org/check?uri=referer" target="_blank"> <img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01 Transitional" height="31" width="88"> </a><br> <br> <font size="2pt"><font color="#F62817">The content of this site is copyrighted</font></font> </p> </div> </div> </body> </html> I haven't yet added the content section yet. Any help would be appreciated. Hello.I want to make a HTML comment box, with submit button. How to add comments to my web-site? if you know, can you give me the code for box and the code, which will be displayed after adding comments........? Thanks beforehand I want to implement a thing like Myspace, Facebook, etc where guests can make comments on my images... I just want the guest to have to enter a name, and a comment, no signing up or anything. http://www.pzproductions.com/largeimages Dear Htmlforums I only got 1 simple question! If i got a site with a comment box, where people can post a comment, and i want the comment they post to be shown on another side? Like when i go to www.whatever.com and post a comment ( Hello ) then the ( Hello ) comment will be shown at my other side with a comment box? What is the code for that? |