Training: ASP/Forms/Database
Where do I begin? I am a Dreamweaver user (approx 5 years). Now need to learn how to connect my site using DW to a SQL Database. Need an overall understanding/overview of asp/forms/database. The site I am working on has forms created in DW using ASP. How to get the data captured in the form to transfer to the database. Thanks much.
Was this a bump?
I also had to re-learn...I started using DW back when it was a Macromedia product (around 1998 and later) and the web standard was still static HTML and XHTML. Needless to say, those were the extent of my language repertoire (looked at ASP at the time but didn't feel it was necessary). I left the web design scene somewhere around the time MX2004 came out and had moved on to other things but stayed using the entire Macromedia design series to this date (I currently use CS5).
I had recently been asked to help out with a website and it was suggested that it be a dynamic site with php and a mysql database. I wanted to hold on to my geek badge so I started learning php and mysql (still learning). I found that the best way to learn these languages is W3Schools. That is an awesome reference and education site and they've been around for 10+ years. I used W3Schools and jumped from php/sql forum to php/sql forum for help with specific problems I ran into with coding. Forums are indispensable for getting the help you need but you should be looking at language-speciic forums (php,ASP,sql,CF...). Fortunately php and mysql are relatively easy languages to learn and if you have any web design background, you should be able to self-learn with little difficulty.
Good luck.
Similar Messages
-
I am a novice at asp and have been working with an
administrator to build an asp form that submits an order to a
database. For illustration purposes, this form is allows a user to
make a purchase based on a certain amount of "dollars". When the
user accesses the form, the database should be displaying how many
"dollars" the user has left, so they know how much they have to
spend. My form is successfully accessing the database and updating
it based on the purchase, but I do not know the code or script
required to display the "dollars" currently available. Can someone
help me with this? Thanks so much!Right now I have it set up so it points to the same server.
Here are my settings:
Under the advanced tab-
Remote Info:
Access = FTP
FTP Host = xxxxxx
Host directory = xxxxxxx
Login = xxxxxx
Password = xxxxxx
Testing Server
Server Model = ASP VBScript
Access = FTP
FTP host = xxxxxx
host directory = xxxxxxx
Login = xxxxx
Password = xxxxxx
On both accounts the ftp host and the host directory are the
same.
I don't receive any errors when I finish. Alos everything
tests correctly to the server. -
Trying to create a XML file from an ASP Form
I have an ASP form on my website that generates a XML data
file, but there are a few problems with it. First, when I generate
the file, it creates a new file every time a user clicks on
"Submit" and I would like the data to just be appended to a
particular, existing XML file...how can I append the data to the
XML file? The code I am currently using is shown below.
Secondly, I need to nest/repeat certain fields within the XML
file. Basically, I want the XML file to look like this (I
simplified the code for ease of writing, so don't bother with the
syntax):
<Recipe>
<RecipeName>
<SubmittedBy>
<Ingredients>
<Amount>
<Unit>
<Ingredient>
<Description>
<Directions>
<Recipe>
<RecipeName>
etc...
How would I create a form that would create that type of XML
file? Think of a MS Access form with linked subforms, but I don't
want to repeat more data than I have to.
Any advice or help would be very appreciated!!! Also, if you
know of a 3-party product that might solve this for me, I am open
to that also!
Thanks!!!
ASP Page Code:You may find this article useful
http://xmlfiles.com/articles/michael/appendxml/default.asp
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"kbeveridge6778" <[email protected]> wrote
in message
news:[email protected]...
>I have an ASP form on my website that generates a XML
data file, but there
>are
> a few problems with it. First, when I generate the file,
it creates a new
> file
> every time a user clicks on "Submit" and I would like
the data to just be
> appended to a particular, existing XML file...how can I
append the data to
> the
> XML file? The code I am currently using is shown below.
>
> Secondly, I need to nest/repeat certain fields within
the XML file.
> Basically, I want the XML file to look like this (I
simplified the code
> for
> ease of writing, so don't bother with the syntax):
> <Recipe>
> <RecipeName>
> <SubmittedBy>
> <Ingredients>
> <Amount>
> <Unit>
> <Ingredient>
> <Description>
> <Directions>
> <Recipe>
> <RecipeName>
> etc...
> How would I create a form that would create that type of
XML file? Think
> of a
> MS Access form with linked subforms, but I don't want to
repeat more data
> than
> I have to.
>
> Any advice or help would be very appreciated!!! Also, if
you know of a
> 3-party product that might solve this for me, I am open
to that also!
>
> Thanks!!!
>
> ASP Page Code:
>
> Function saveXMLData(strPath, strFileName)
>
> 'Declare local variables.
> Dim aXMLDoca
> Dim aRootNode
> Dim aFormVar
> Dim aPI
> Dim Item
>
> 'Create an XMLDOM Object
> Set aXMLDoca = server.CreateObject("Microsoft.XMLDOM")
> aXMLDoca.preserveWhiteSpace = True
>
>
> 'Create the root node for the document
> Set aRootNode = aXMLDoca.createElement("function")
> aXMLDoca.appendChild aRootNode
>
>
> 'Iterate the Request Object for all form data
> For Each item in Request.Form
>
> 'Do not include the variable if it contains btn
> If instr(1,item,"btn") = 0 Then
> Set aFormVar =aXMLDoca.createElement(item)
> aFormVar.Text = Request.Form(item)
> aRootNode.appendChild aFormVar
> End If
>
> Next
>
>
> 'Append the processing instruction
>
> Set aPI =
aXMLDoca.createProcessingInstruction("xml","version='1.0'")
> aXMLDoca.insertBefore aPI, aXMLDoca.childNodes(0)
>
>
> 'Save the XML document.
> aXMLDoca.save strPath & "\" & strFileName
>
>
> 'Release all references.
> Set aXMLDoca = Nothing
> Set aRootNode = Nothing
> Set aFormVar= Nothing
> Set item = Nothing
> Set aPI = Nothing
> End Function
>
> dim strFullFile
>
> Function DoesFileExist(ByVal strFullFile)
> Dim objFSO
>
> 'If InStr(strFullFile, ":") = 0 Then
> 'strFileNam = Server.MapPath(strFullFile)
> 'End If
>
> Set objFSO =
Server.CreateObject("Scripting.FileSystemObject")
> DoesFileExist = objFSO.FileExists(strFullFile)
> Set objFSO = Nothing
> End Function
>
>
> Const cont_Num=10000
> Randomize
> Dim intNumber
> dim strFile
> Dim blnYes
>
> blnYes=False
>
> Do Until blnYes=True
>
> intNumber=Int((Cont_Num * Rnd)+1)
>
> 'Create a random file name so you don't write over the
same file
> strFile="Recipe"& intNumber &".xml"
>
> strFullFile="c:\inetpub\wwwroot\xmltest\" & strFile
>
> if DoesFileExist(strFullFile)=False then
> blnYes=True
> End If
> Loop
>
> ' The page starts here
> On Error Resume Next
>
> ' Save the XML Data
> SaveXMLData "c:\inetpub\wwwroot\xmltest",strFile
> -
Reset .asp form on page load
I produced an .asp fillable form in DWCS5 using ASP Form 2 Email extension. Worked very well. Problem -- ONLY with IE. When I "submit" the form, I get the "success" page. If I hit the back button on the browser, all the form info is still there. I inserted the "pragma" meta into the <head> and it resolved the problem in all browsers EXCEPT IE. Any suggestions as to how I can force the cache to clear on page load? Or, maybe a way to disable the "back" button on the browser when the success page has appeared?
TomDelMar wrote:
> DW8 / PHP / MySQL
> How can I submit a form when the user enters the page? I
want to emulate the
> user selecting the page and clicking the submit button.
Can this be done
> easily?
Perhaps you're not phrasing your question correctly, but what
you're
suggesting is nonsense/not necessary. A form is designed for
user input.
If you want the form to be submitted when the page loads, the
user has
no opportunity to enter any input before it's submitted. If
you don't
want any user input, there is no need to submit a form. You
simply write
a PHP script that runs automatically when the page loads.
Forms play no
role in your scenario.
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/ -
My friend and I are trying to find a script that enables us
to track the asp form sent to us with its own specific number. With
either numbers or letters, so far we have not been able to do
either. We have a webform on a server, so when somebody fills out
the form out and when it is sent to us we want the email with the
information filled out with its own specific number. Please
help...Thank YouHi VLN,
Use external breakpoint for Debuging ---> keep in mind that both the userid should belong to the same user (user name should be same on portal as well as ECC.60).
~BD -
Is there any difference in oracle database and forms database
i want to know is there any difference in oracle database and forms 6i database
,if i import some file through oracle database then same data will exist in forms database or not
thanksOracle Forms is a Rapid Application Development (RAD) tool not a database. With Forms, you connect to an Oracle database to query and display data from the database as well as insert new or update existing data. Consequently, if exists in the database - you should be able to display it in a Form.
Craig... -
Hi
I have put a very basic .asp form to mail on a contact page
but when the form is processed, the only info received are the
labels (i.e. Email Address, Name, Message etc.) but no actual
content. There is obviously an error in the code somewhere. I'd be
grateful for some asp wizard to give me a few pointers.
Thanks
martin
The form
<form action="confirmation.asp" method="post"
name="YourFormName" id="YourFormName">
<table>
<tr>
<td>Email: </td>
<td><input type="text" name="Email" size="50"
/></td>
</tr>
<tr>
<td>First Name: </td>
<td><input type="text" name="FirstName" size="50"
/></td>
</tr>
<tr>
<td>Last Name: </td>
<td><input type="text" name="LastName" size="50"
/></td>
</tr>
<tr>
<td>Subject: </td>
<td><input type="text" name="Subject" size="50"
/></td>
</tr>
<tr>
<td>Message:</td>
<td><textarea name="Comments" cols="40"
rows="5"></textarea></td>
</tr>
</table>
<input type="submit" name="Submit" value="Submit Form"
/>
</form>
The server Script
<body><%
DIM strEmail, strName, strMessage, mail, reply, objMail
strEmail = request.form("Email")
strName = request.form("Name")
strMessage = request.form("Message")
mail = "[email protected]"
reply = request.form("Email")
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = reply
objMail.Subject = "Contact from website"
objMail.To = mail
objMail.Body = "Email: " & strEmail & vbCrLf & _
"Name: " & strName & vbCrLf & _
"Message: " & vbCrLf & strMessage
objMail.Send
Set objMail = nothing
%>
<P>
<%
strName = request.form("Name")
Response.Write strName
%>
</P>
<div align="center"><P class="thankyou">Thank you
for your email. <br/>
We will be in touch shortly.</P>
</div>Oh yea, missed that; stated element name and requested don't
match.
"Murray *ACE*" <[email protected]> wrote
in message
news:[email protected]...
> <body><%
> DIM strEmail, strName, strMessage, mail, reply, objMail
> strEmail = request.form("Email")
> strName = request.form("FirstName") & " " &
request.form("LastName")
> strMessage = request.form("Comments")
>
> mail = "[email protected]"
> reply = request.form("Email")
> Set objMail = Server.CreateObject("CDONTS.NewMail")
> objMail.From = reply
> objMail.Subject = "Contact from website" & "--"
& request.form("Subject")
> objMail.To = mail
> objMail.Body = "Email: " & strEmail & vbCrLf
> "Name: " & strName & vbCrLf & _
> "Message: " & vbCrLf & strMessage
>
> objMail.Send
> Set objMail = nothing
> %>
>
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.dreamweavermx-templates.com
- Template Triage!
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
> ==================
>
>
> "martinstan" <[email protected]> wrote
in message
> news:[email protected]...
>> Hi
>> I have put a very basic .asp form to mail on a
contact page but when the
>> form
>> is processed, the only info received are the labels
(i.e. Email Address,
>> Name,
>> Message etc.) but no actual content. There is
obviously an error in the
>> code
>> somewhere. I'd be grateful for some asp wizard to
give me a few pointers.
>> Thanks
>> martin
>>
>> The form
>>
>> <form action="confirmation.asp" method="post"
name="YourFormName"
>> id="YourFormName">
>> <table>
>> <tr>
>> <td>Email: </td>
>> <td><input type="text" name="Email"
size="50" /></td>
>> </tr>
>> <tr>
>> <td>First Name: </td>
>> <td><input type="text" name="FirstName"
size="50" /></td>
>> </tr>
>> <tr>
>> <td>Last Name: </td>
>> <td><input type="text" name="LastName"
size="50" /></td>
>> </tr>
>> <tr>
>> <td>Subject: </td>
>> <td><input type="text" name="Subject"
size="50" /></td>
>> </tr>
>> <tr>
>> <td>Message:</td>
>> <td><textarea name="Comments" cols="40"
rows="5"></textarea></td>
>> </tr>
>> </table>
>> <input type="submit" name="Submit" value="Submit
Form" />
>> </form>
>>
>> The server Script
>>
>> <body><%
>> DIM strEmail, strName, strMessage, mail, reply,
objMail
>> strEmail = request.form("Email")
>> strName = request.form("Name")
>> strMessage = request.form("Message")
>>
>> mail = "[email protected]"
>> reply = request.form("Email")
>> Set objMail = Server.CreateObject("CDONTS.NewMail")
>> objMail.From = reply
>> objMail.Subject = "Contact from website"
>> objMail.To = mail
>> objMail.Body = "Email: " & strEmail & vbCrLf
>> "Name: " & strName & vbCrLf & _
>> "Message: " & vbCrLf & strMessage
>>
>> objMail.Send
>> Set objMail = nothing
>> %>
>>
>> <P>
>> <%
>> strName = request.form("Name")
>> Response.Write strName
>> %>
>> </P>
>>
>> <div align="center"><P
class="thankyou">Thank you for your email. <br/>
>> We will be in touch shortly.</P>
>> </div>
>>
>
> -
Oracle University Instructor led Training Feedback Form
Can anybody forward me the Oracle University Instructor led training feedback form's soft copy ?????
PLS ?????????As with other things, you get out of certification only what you put into it. Those without honor will get the certificate by any means they can, thinking that it is the ticket to a high paying job. I would hope that employers by now have an interview process that will target these people for the frauds that they are. If they do make it past the interview process, well, that is what the probationary period is for. Most companies that I have been involved with have had a hiring policy that says they can let you go in the first ninety days for any reason or for no reason. And lying about your experience is grounds for termination any time. Their phony certifications won't save them if they are unable to do the job.
It costs a lot of money for a company to hire someone and a credit report, background check, verification of past work history and reference check are all part of the cost of that hiring. If a security clearance is required as a condition of employment, it can cost tens of thousands of dollars to complete. Companies are willing to spend the time and money to accomplish these things to eliminate the liars and frauds. I would not hesitate to report any fraudulent activity that involved the certification process. To not do so cheapens it. Oracle has taken a step in the right direction by instituting the ILT requirement which has probably weeded out a few pretenders. Maybe more steps will be forthcoming.
Tom -
Connecting Training Feedback form with PV33
Hi All,
I have created a training feedback form and I want to connect the same with PV33 for executing the training feedback.
Please let me know how to go about doing it.
With Regards,
Kaustuv Goswami.hello
you can use tcode OAWD in that employee management will be there and appraisal before that icon will be there you double click on that you can give personnel number and then in next screen confirm and then browse your file and save it it will attached
bye
naveen -
Cannot preview ASP JavaScript database pages anymore
I've lost my ability to preview my ASP JavaScript database
pages on MX 2004. They upload fine, just can't preview them. Error
ASP 0129 - The scripting language 'JAVASCRIPT' is not found on the
server.
I recently installed a trial version of DW CS4 on an external
drive, but am now wondering if dll files were overwritten in the
process that affected MX 2004. I've since uninstalled CS4 and
cleaned up the registry, but the problem still exists.
My other computer previews fine with same IIS settings and AV
protection. So it’s something within DW on my computer that
has a glitch and the only thing I can think of is the installation
of CS4 jolted MX 2004 and now ASP JavaScript is not recognized.
Is there a repair tool for Dreamweaver? If not, and I
reinstall OVER the current installation of MX 2004, will I lose any
settings, and will I have to reinstall updates and extensions? Any
other suggestions are appreciated!I've lost my ability to preview my ASP JavaScript database
pages on MX 2004. They upload fine, just can't preview them. Error
ASP 0129 - The scripting language 'JAVASCRIPT' is not found on the
server.
I recently installed a trial version of DW CS4 on an external
drive, but am now wondering if dll files were overwritten in the
process that affected MX 2004. I've since uninstalled CS4 and
cleaned up the registry, but the problem still exists.
My other computer previews fine with same IIS settings and AV
protection. So it’s something within DW on my computer that
has a glitch and the only thing I can think of is the installation
of CS4 jolted MX 2004 and now ASP JavaScript is not recognized.
Is there a repair tool for Dreamweaver? If not, and I
reinstall OVER the current installation of MX 2004, will I lose any
settings, and will I have to reinstall updates and extensions? Any
other suggestions are appreciated! -
Oracle HRMS training course form Oracle University @ iWare Logic
Oracle HRMS training course form Oracle University Approved Education Center iWare Logic
iWare Logic provides “Oracle Apps Training” and Certification in Oracle HRMS in association with Oracle University.
Oracle HRMS Training and Certification topics
eBusiness Suite Essentials for Implementers
Enterprise Management Fundamentals: Work Structures
Workforce Sourcing and Deployment Fundamentals: People Management
Workforce Sourcing and Deployment Fundamentals: iRecruitment
Payroll Management Fundamentals: Setting Up Payroll
Payroll Management Fundamentals: Processing Payroll
Time & Labor Management Fundamentals
For details please check
http://www.iwarelogic.com/training.htm
for Special Offer on our Oracle Apps trainings please check
http://www.iwarelogic.com/oracle_applications.htm
Following are iWare Logic’s contact details,
iWare Logic Technologies Pvt. Ltd.
Aditi Samruddhi, Banner,
Pune, 411045
Maharashtra, INDIA
Phone: 91 20 66321113
Mobile: 91 9326515010
Email: info at iWareLogic.com
Website: http://www.iWareLogic.com
http://www.oracle.com/global/in/education/maps/iware_logic_technologies.html
Oracle Apps Training http://www.iwarelogic.com/training.htmSchedule for Oracle HRMS training form Oracle University is available at http://www.iwarelogic.com/class_schedule.htm
-
Problems installing ASP Form Captcha plugin
Hi,
I have just purchased and downloaded this plugin for Dreamweaver www.hotdreamweaver.com/asp-form-captcha . I am running DW MX.
When I try to run the installation I get the following error message:
'This extension package is not applicable with this version of Macromedia Extension Manager, you need a newer version of the package or the Extension Manager. Please visit the Macromedia Exchange website to obtain a copy. The extension will not be installed.'
I cannot find anything of assistance and would appreciate it enormously if anyone could kindly point me in the right direction with this.
Thanks
GrahamSorry,
found it, thanks anyway.
Graham -
Trouble with ASP and databases
Hi,
I am trying to create a form in Dreamweaver 8 so my customers
can enter their information and save it to a sql server database. I
am able to set up the connection to the database using ASP VB. I
can create the fields and which records it will update, but as soon
as I save it, I no longer have access to the database. I can't even
add a new one. In the database window the plus sign is greyed out.
It tells me "To preview pages containing server-side code, you need
a testing server. Would you like to specify one now?" The page is
located under the correct site. I can upload it but when I punch in
the info, it gives me a page not found.
Everything works fine until I save the file.
Plese help!Right now I have it set up so it points to the same server.
Here are my settings:
Under the advanced tab-
Remote Info:
Access = FTP
FTP Host = xxxxxx
Host directory = xxxxxxx
Login = xxxxxx
Password = xxxxxx
Testing Server
Server Model = ASP VBScript
Access = FTP
FTP host = xxxxxx
host directory = xxxxxxx
Login = xxxxx
Password = xxxxxx
On both accounts the ftp host and the host directory are the
same.
I don't receive any errors when I finish. Alos everything
tests correctly to the server. -
Passing asp form data to a .jsp string
Hello and thanks in advance for any help.
I would like to pass form information that comes from a standard form into a URL string as follows:
"http://ui.constantcontact.com/roving/wdk/API_AddSiteVisitor.jsp?loginName=benefitevents&loginPassword=connoisseur&ea=[email protected]&ic=test&first_name=Joe&last_name=smith"
I would then like to pass that string forward to its final destination.
Some more info.
Form data is collected on "register.asp" and then passed to "register1.asp" using form method="post" action="register1.asp".
On register1.asp the form info is processed and delivered to the SQL database.
I am only a beginner with the code (it was done by a programmer who is mostly absent when needed now).
So, I need to know as much of the following as you can help with (in descending priority):
1. How to pass the .jsp string forward assuming the proper variables have been passed in the asp code.
2. Where should this command live, in register.asp or register1.asp?
3. How to correctly insert the variables in the URL string from form (correct syntax using asp).
As may be obvious this is for one registrant at a time. The object is deliver the registration information to my SQL database and, at the same time, pass some info to a Constant Contact list. This allows me to integrate Constant Contact into my services to clients seamlessly.
Thank you, hope this was not too much info!
JimJavascript is not the same as Java.
There are JS related forums at webdeveloper.com. But I would rethink about the JS approach. It should also be able with ASP and I would prefer that. -
ASP form reads from access, can't write
I am a complete ASP noob. I use ColdFusion and ASP has proven
to be a pain I wish I would have never touched. I need to add a
simple contact form to the end of an ASP page to capture basic
info.
When the page loads, all is well. In fact, the page is able
to perform a query of the database and get some list options to
populate the form. Once I complete the form and hit submit, it
posts the form and generates an internal server error 500.
I built the form using the built in Dreamweaver actions. It
is set up to be an ASP VB file, though I get errors with ASP JS. I
think the server is configured right, since the page loads and
performs the query. I could be wrong. The database is Access and I
have the permissions set for IIS to have the ability to write to
the database.
What do I need to look for?
Thanks in advance for any advice!!!See if this helps:
http://www.fordwebs.com/mx-asp/index.asp
http://www.fordwebs.com/mx-asp/feedback.asp
Ken Ford
Adobe Community Expert
Fordwebs, LLC
http://www.fordwebs.com
"dnaguy" <[email protected]> wrote in
message news:esp3q7$ip8$[email protected]..
>I am a complete ASP noob. I use ColdFusion and ASP has
proven to be a pain I
> wish I would have never touched. I need to add a simple
contact form to the
> end of an ASP page to capture basic info.
>
> When the page loads, all is well. In fact, the page is
able to perform a
> query of the database and get some list options to
populate the form. Once I
> complete the form and hit submit, it posts the form and
generates an internal
> server error 500.
>
> I built the form using the built in Dreamweaver actions.
It is set up to be
> an ASP VB file, though I get errors with ASP JS. I think
the server is
> configured right, since the page loads and performs the
query. I could be
> wrong. The database is Access and I have the permissions
set for IIS to have
> the ability to write to the database.
>
> What do I need to look for?
>
> Thanks in advance for any advice!!!
>
Maybe you are looking for
-
Free of charge item tax calculation
Hi all I have a requirement for VAT calculation for free of charge item in sales order. For these items (item category TANN) with VPRS for internal price condition and MWST for VAT tax condition i'm able to calculate the value for VAT accounts purpos
-
Exchange 2003 to Exchange 2010 migration steps
HI , I have migrated windows 2003 to windows 2008.Its successfully migrated. Second phase i have a plan to migrate exchange 2003 to exchange 2010. My current setup windows 2008 64bit (DC) exchange 2003 sp2 1 Bring the Exchange organization to Exchang
-
Cloning instance = /apex wants login
Hi, I have cloned the default XE instance on the same machine using the following instructions: http://www.pgts.com.au/pgtsj/pgtsj0211b.html Right now I have a working second instance called XETEST. I can access it via the listener, via sqlnet on por
-
How do I get an app that I paid for transferred over to my iPhone? I paid for it and its not able to be used on iPad!
-
WD ABAP: Reset Table To Show the First Record.
Hi WebDynpro ABAP Experts, Settings of tables allow me to display set of 10 records at a time. If i want to select , say 18th record I use paginator to select & use it. i navigate to next view , do some processing here. When I come back to the previo