|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
NEWBIE -> trying to get info from DB into HTML
<i><b>Originally posted by : Shane (shane@gamesman.co.nz)</b></i><br />Hi,I am trying to take a unit price from a Database on server and display it in an HTML page. <br />Was told this is easily done but I am having no luck.<br />Can anyone explain or write basic script<br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : David (Paintbuoy@Hotmail.com)</b></i><br />You'll first need to state what type of database/server setup you have before I can be specific.<br />Before doing that do some quick reading on ASP:<br /><br />I'd recommend:<br />http://stardeveloper.com/asp_tutorial_3.asp<br />as a starter.<br /><br />It outlines the basics.<br />Another simple tutorial is:<br />http://www.stardeveloper.com/odbc_def.asp<br />for connecting.<br /><br />Once you've got the data use the response.write command to insert into html. You will need to rename your html page with the extension .asp and replace any single quotation marks inside the response.write comand with double for html tags.<br /><br />eg. <img src="test.jpg"> would become <br /> <img src=""test.jpg""><br /><br />I noticed your a NZ'er. I'm working at Victoria University developing web applications in asp. Email if you need further assistance.<br /> <br />
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > NEWBIE -> trying to get info from DB into HTML |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|