Explore the Articles

Dreamweaver

Nested Query on Parent/Child table

This tutorial shows how to use a nested query on a parent/child table to count the records in that child table and display them togehter with the parent record. Read More
Server Side

Delete file before deleting record

This tutorial explains how to write a code that deletes a file that has been uploaded to your server before deleting the record where the image belongs to.
June 18, 2001: Added a demo application.

Read More
JavaScript

Using Images to submit Forms!

Using this very simple piece of javascript, you can use an image to submit or reset your forms!

1.In Dreamweaver select the image you want to use to submit or reset you form.
2. In the link Box of the Properties palette type the following javascript

javascript:document.yourformname.submit()

javascript:document.yourformname.reset()

Save the document and test!

So now now you are able to use the images that you took so long to make to send your forms!

Alternativley you can add this code at source view

<a href="javascript:document.form1.submit()"><img src="images/your_image.jpg" width="189" height="192" border="0"></a>

 

<a href="javascript:document.form1.reset()"><img src="images/your_image.jpg" width="189" height="192" border="0"></a>

Read More
Dreamweaver

Hit counters for all the individual records of one table in the database.

I wanted to make a hit counter for my site which could count all the hits for each individual record of one table in the database. I searched the Internet but could not find what I wanted. Then I asked George Petrov of www.udzone.com and he explained how it could be done. Thanks George.
Read More
Dreamweaver

Creating Detail Pages with navigation links

Sometimes, it could be useful to include navigation links in our detail pages, so users could browse through the entire range of records without having to go back to the master page each time. When using the current master-detail page set builder included in UD4 this feature is completely impossible, since the ASP scripts included in the detail page filter the recordset so it only includes a single record.

With this tutorial we will cover the procedure of creating filtered-recordsets for Detail Pages that allow our users to browse through the entire records range.

Read More
Flash

Advanced form using Flash and PHP

This tutorial is a follow up to my other tutorial 'Form with PHP and Flash', this time I have covered adding elements like a drop down menu and check boxes. This tutorial is for Flash 5 only.

Read More
Flash

Contact form with PHP and Flash

In this tutorial we are going to show you how to create a contact form within flash and send it using PHP. Read More
Dreamweaver

mm-ultradev article/rating/comment system

This article, rating and comment application is 99% with UltraDev 4 and MS Access 2000. A few If Then Else statements are used to make things work nicely. It consists of an overview page with the ARTICLE HEADLINES with links to the DETAILED ARTICLE page.

This detailed page has a RATING and COMMENT function at one time. The visitor can RATE the article directly on a scale from 1 to 5 (poor/excellent) and view the result instantly.

It provides NUMBER OF VOTERS, AVERAGE SCORE, HIGHEST SCORE and LOWEST SCORE. The graphical part is based on the AVERAGE score and sets it self of against the MAXIMUM score of 5. A background image is used to make the MAXIMUM score viewable.

The vistor can also give COMMENTS on the article which are NOT neccesary when RATING the article (optional). When he/she does the COMMENT is directly available for viewing on the same page. It gives the COMMENT date and visitors IP address as togehter with the actual comment. Here it is where the If Then Else statements help out ! So when no RATING is made and no COMMENTS are given, everything still looks nice.

The power of this application is due to the SQL statements that are used to retrieve the INFORMATION from the database and manipulate it. Connection string to the DB is custom (!)

Hope you enjoy it and learn from it.................at least i did (!)

Note:
there are a few un-used SQL statements in the application that can contribute in the statistics overview !

 

Read More
Server Side

Creating a File Upload Site

I've been working on a site for users to be able to upload text files of articles and/or GIF or JPG files for inclusion in the site. I dind't want to use a COM-based like SA-FileUp or ASPUpload because of the hassles with the ISP. I needed a complete ASP solution so I pulled together Server Behaviors from some of the best--George Petrov (PureASP Upload), Tom Steeper (Preview File before Uploading), Owen Palmer (Dynamic File Include), and Tom Muck (Insert and Obtain ID). I want to thank all of them for their great Server Behaviors, each one an integral ingredient of the recipe. Thanks to a bunch of great chefs! (See below for how to get the Server Behaviors).

Read More
Server Side

Creating a DSN less Connection for ASP

Generally, a DSN less connection is a better and faster connection to a database. Also, in many cases web hosting companies only allow you to have one DSN connection setup which limits you to a single database on your site. But what if you need more than one and are reluctant to upgrade you hosting plan to a much more expensive one. Well in that case, DSN less connection is your ticket to happiness babe!

Read More
Newer articles Older articles