11-01-2006, 04:26 AM
I'm fairly new to the web development thing so I need a little direction. I'm creating an in-house Tech Ticket System and from the .asp form with an SQL Server I'm wanting to display a confirmation page with the data collected from the form. I assume I would setup some global variables that is setup within the form but how do I establish global variables and/or pass them onto a confirmation page?
Since you are using a form, and passing information to another page (in this case, confirmation page as you called it), you can always pass data in hidden input fields that is not visible to users.
for example, let say that you want to pass the userID, but you don't want the user to see it. Then you can do the following.
<form method="GET" ....>
<input type="hidden" name="userID" value="value of user id here" />
...other input fields here
in your confirmation page, you can obtain this value via asp, or any other scripting language you choose to use, and echo it out within <script> tags. here is an example in php, as I am not familiar with ASP.
$userID = $_GET['userID'];
echo "var userID = " . $userID;
As for editors, I think DreamWeaver is very good when it comes to scripting. It supports PHP, ASP, JSP and other languages.
Check out this page (http://www.photoshopsupport.com/dreamweaver/tt/total-training.html), which provides video tutorials for DreamWeaver.
All the best.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.