HTML - Inseting Records To A Database Through Html Code...
hi,,, i have this html page that consists of fields name,tel,etc...
i want when the user fills the fields and presses submit the data will be stored in the database,,, the database is stored in this path:C:\Documents and Settings\NooraS\My Documents\noora\Ammar\myweb71")_ i wrote this code but it doesn't store the data , any help: HTML Code: <% set myconn = server.createobject("adodb.connection") dbpath = server.mappath("C:\Documents and Settings\NooraS\My Documents\noora\Ammar\myweb71") connection = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" & dbpath & "\Ammar.mdb" myconn.open (connection) set result = server.createobject("adodb.recordset") set result = myconn.execute(strSQL ) %> Similar TutorialsMy html problem keeps failling, with all my image codes.. shown for 10 errors which are all for the images what's wrong? Here is the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- New Perspectives on HTML and XHTML 5th Edition Tutorial 2 Case 2 Fiddler Home Page Author: Date: 2-16-2011 Filename: home.htm Supporting files: fiddler.jpg --> <title>, ITSE 1411 Lab Project 2, Tutorial 2 Case 2, Due 02/23/2011</title> </head> <body> <div> <img src="fiddler.jpg" alt="Fiddler on the Roof" /> <hr /> <a href="home2.htm"><img src="home.jpg" alt="home" /></a> <a href="slide1txt.htm"<img src="start.jpg" alt="start" /></a> <a href="slide1txt.htm"<img src="back.jpg" alt="back" /></a> <a href="slide2txt.htm"<img src="forward.jpg" alt="forward" /></a> <a href="slide6txt.htm"<img src="end.jpg" alt="end" /></a> <br /> <a href="slide1txt.htm"<img src="thumb1.jpg" alt="slide1" style="border-width: 5" /></a> <a href="slide2txt.htm"<img src="thumb2.jpg" alt="slide2" style="border-width: 0" /></a> <a href="slide3txt.htm"<img src="thumb3.jpg" alt="slide3" style="border-width: 0" /></a> <a href="slide4txt.htm"<img src="thumb4.jpg" alt="slide4" style="border-width: 0" /></a> <a href="slide5txt.htm"<img src="thumb5.jpg" alt="slide5" style="border-width: 0" /></a> <a href="slide6txt.htm"<img src="thumb6.jpg" alt="slide6" style="border-width: 0" /></a> </div> <hr /> <div> <img src="slide1.jpg" alt="slide1" /> </div> <blockquote> <p><i>Do You Love Me?</i> sung by Deb Ingalls and Thomas Gates</p> </blockquote> </body> </html> Is It Possible to maintain Database in HTML ? If Yes How ? Hello! I have a blog on blogger and i want to make a c++ tutorial.. But every time i type "<iostream>" on post, when i see it, it is only "iostream". How can i make a code like the "[code]" from BBcode to cancel the compiling from HTML? Thanx! hey, I have problems creating a database with html can someone guide me? I am assigned to build a site for a company and i need to do a database for all their products. Good day to all, I had a big problem here. There are a thing that i want to do which i think is possible but involve alot of scripting. This is the reason why i am here. I don't know how to describe the problem, so let me use example. Let say, i create a calendar.html for you which is form by 31 x 12 boxes for your 1 whole year movement. beside create for you, i also create for x, y and z. Now i create i another Compound.html which this is a smart html that read today date and go to your, x, y and z html to retreive only today movement instead whole year and put in particular column of a table. i know this thing can be easier done in database, but i need to do it by html. Is it possible? Hello everyone. About a week ago i created a database on my company server, with sql server 2005. Around 40 to 50 users will use this database and i was thinking of creating an html page in which the users will be able to see the table results. The problem i have is that i dont know how i can add the tables on the page. Is there any possible way to connect to the server and then through sql commands to appear it on the page? Thanx in advance for your answers and sorry if my question is stupid but i am quite new on those stuff Hi all, Im a new member here, im studying HTML and i've some doubts that i'd like you to help me. All the work i done so far, working on HTML only is this: http://www.speedyshare.com/files/23302707/html.rar And if you open assuntos/inscricao.html( inside "assuntos" file) you'll see something to fill in, like a registration of a site, that INFO that user adds like his name, password etc i'd like to receive it, in some place. Thanks for your help, nonamezz. hi everyone, i'm having trouble figuring out when i do the drop down box whatever the person selects how do i pass that as a parameter into java script or can i put the drop down box in the java script? My next question has to do with the fact that i am building a site for classified ads. and i want to put the information into a database how and what DBMS should i use? i was thinking RUBY, SQL, or PHP. or could i do JDBC any ideas or suggestions let me know. thanks Hi all..I'm actually working on an html website..I need help in connecting my database (Access) to my webpage..can any one help me for the codes imtek Hello everybody, I'm new here. I'm redesigning my own website and came up with some tricky situation. I write HTML lessons and I want to put just the pure code in my posts, but they appear as a regular html document... How do I make the code to be shown just as text (code), like we do in the forum boards (code tags or whatever)? I have a website where I want to make a drop down menu that will bring you to different pages. It is a very basic, sort of old-fashioned website that relies entirely on html. What I'm trying to do is make a drop-down menu that will be used as navigation for a section of a website and I want to have it in each internally linked page in that section, but I'm going to be adding more pages to it over time so I want to be able to put the drop-down menu code in a separate text file and then substitute it into the pages that I make that the options in the menu link to and then just edit the code in the text file when I add another page so that I don't have to go back and edit the code every single individual page whenever I add a new one among them. Basically all I'm asking is how I can put html code in a text file and then substitute that code into an html page by referring to the file. Thanks in advance for any help. I have a html table that contains data and i want to insert the data into an Access database. Any ideas how to do this? Table1: 01, Rich, Mike, 23, fred lane, 02, James, milner, 45, School Lane, 03, Rob, Matthews, 89, College Road, I connect to the database using this code: $db_conn = new COM("ADODB.Connection"); $connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=". realpath("./Database1.mdb").";"; $db_conn->open($connstr); Dear Forum-goers, If I knew what to search for I would, but I don't know what this idea is called. I want to create a website with code that does the following: <body> (INSERT FROM OTHER HTML FILE: Page introduction) (INSERT FROM OTHER HTML FILE: Content) (INSERT FROM OTHER HTML FILE: Sidebar) </body> Is there a way to do this? If not, then okay. I've tried using <link />, which doesn't do the job. You'll see the line in question in blue font: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>This is the main page.</title> <link type="text/css" rel="stylesheet" href="journal.css" /> </head> <body> <link type="text/html" rel="content" href="tobelinked.html" /> </body> </html> Hey guys im new to html me and my friend have managed to get a website up and running only that we have a problem with the homepage code it's ok using firefox but when you use chrome or explorer it act's wierd: anyways : heres the website: http://viahacking.altervista.org could someone please fix it?? thanks Does anyone know if this code has any kind of SEO benefit or what it's relevance is? Thanks in advance! Code: td class="botLinkText" <td class="botLinkText"><a href="http://www.blahblah.com/pages/page.asp" class="botLink">keywords & description</a></td> this code has been giving me trouble for days and i just cant make it work, please someone help me make the submit button mail the information forms to this email: abuse@hotmail.com PLEAAAAAAAAAAASE. Can somebody pls. help me HTML code below ? I simply want to change Font Size ? <text><![CDATA[Lorem ipsum dolor sit amet, <b>consectetur adipisici elit</b>, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. <font color="#CCFF33">Ut enim ad minim veniam</font>, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in <b>voluptate velit esse</b> cillum dolore eu fugiat nulla pariatur. Cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in <b>voluptate velit esse</b> cillum dolore eu fugiat nulla pariatur. Cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.]]></text> The piece of code is embedded in XML file but i suspect that HTML concept applies here... Mave here is a code i made for one of my sponsers this one has 16 errors showing. dosnt like the affiliate code or anything else. please do not laugh at my crude work but i am learning. thanks again. so far i have been trying different options and keep making things worse </script><center> <a href="http://www.bikeberry.com/index.php?ref=2&cPath=30&affiliate_banner_id=1 "target="_blank"> <img src="http://motorbicycling.com/images/misc/bbb.gif"> </center> </a> Hi boys n gals, I would like to embed these social sites in my site, (delicious, facebook, diggs etc) , any one with such HTML codes in one piece? (excuse it if it sounds........) Looking forward to hearing from you |