Friday, October 9, 2009

Dreamweaver MX makes us leave a message this (one)

Everybody is good, we met again. : ) the server action that we related advanced face how to use DW MX in a few chapters will operate a database to mix make dynamic page, but feel a bit random, where is not very good understanding? Yes, what we tell in front is single server act, seem connection of it doesn't matter is same. Be in this one chapter, the server behaviour that if apply DW MX neatly,we will study - - make us leave a message this! (right, leave a message namely this, the server act that uses the majority, and need not write a code. )

Prepare first the job, build a few pages, part entitle: Index.asp: Leave a message this home page, use at showing to leave a message etc. New.asp: Release leave a message newly. Rep.asp: With the page that leaves a message at stationmaster reply. Edit.asp: A few righter leave a message insalubriously content has editorial page. Del.asp: Alexandrine, do not cross a method more firm, delete directly. : )Login.asp: The return that says above, editor, delete wait for an operation to should only stationmaster just has power, stationmaster lands management to leave a message through this page this. Sorry.asp: Land incorrect when returns page.
If pursue (7-1) be shown.


7-1

Our need uses database field to two pieces of watches, if pursue (7-2) be shown. Express Admin to be used at depositing the full name of super user and password among them, express what deposit in F_bbs to post information, at the back we can explain in detail.


7-2

Two fields are built in watch Admin, the name is F_name and F_password, data type is set respectively for text, if pursue (7-3) be shown.


7-3

Watch B_bbs was bothered a bit, need not be afraid of nevertheless, let us come step by step, see a picture first (7-4) .

7-4
Field ID is leave a message the crucial field of content, because its action is very much, set its data kind for automatic number, install it give priority to key, namely pitch on it, pursue bit again (7-4) in the pushbutton in red circle. F_name is leave a message the full name of the user, very simple. What deposit in F_content is to leave a message content, because text data type can deposit 255 character only at most, leave a message to ours for content bit less, so here should install it into remarks, because of remarks type of this kind of data can be deposited at most 65, 535 character, used completely quite. : )F_oicq is leave a message the OICQ number of the user, the setting is the same as user name. F_email is leave a message the Email address of the user, the setting is the same as user name. F_homepage is the homepage address that saves an user, the setting is the same as user name. The time that F_time leaves a message to refer, here should notice, data type should change date / time, want to set an acquiescent value. If pursue (7-5) be shown. This Now() is the function of the buy inside a VBA, it s action is to should be referred when one leaves a message if not demonstrate the value of this field, criterion the time that the system can use current date comes fill this field. F_repcontent is the content that stationmaster replies, leave a message together content. What want an attention nevertheless is to also want to add an acquiescent cost, if pursue (7-6) be shown. If,its action is current this leaves a message if content has not replied, show " of short duration does not have a reply " . Should notice those two double quote, the ability that must input condition to fall in English goes, be like "" , if Chinese falls,input " " can sign up for a fault.


7-5


7-6

The leading role that we are turn for after preparing a database, index.asp, this page is used at showing to keep make peace the join of sex of a few functions, will see its general look first, if pursue (7-7) be shown. Want to remember building record volume at the same time, e ntitle Guestbook.


7-7

Here I am for convenient for the purpose of only, so trashy what picture, probably appearance is above such. Should show the most importantly namely leave a message the person's full name, leave a message content and stationmaster reply, the of short duration below does not have a reply is to be used ensure should do not have any leaving a message content when what show, also can assure to won't make mistake so. So possibly some of careful reader can be asked about, I above build in the database how don't still have like OICQ number and homepage address see? Ah. . Need not urgent, these should be used of course, see a picture (7-8) , this is an appearance that shapes basically.


7-8

How, OICQ, mailbox, homepage, publish time to come out, be like it seems that pretty is troublesome. Need not be afraid of, actually very simple, it is a few little server action only just, let's Go! ! We one step comes.
Everybody is good, we met again. : ) the server action that we related advanced face how to use DW MX in a few chapters will operate a database to mix make dynamic page, but feel a bit random, where is not very good understanding? Yes, what we tell in front is single server act, seem connection of it doesn't matter is same. Be in this one chapter, the server behaviour that if apply DW MX neatly,we will study - - make us leave a message this! (right, leave a message namely this, the server act that uses the majority, and need not write a code. )

Prepare first the job, build a few pages, part entitle: Index.asp: Leave a message this home page, use at showing to leave a message etc. New.asp: Release leave a message newly. Rep.asp: With the page that leaves a message at stationmaster reply. Edit.asp: A few righter leave a message insalubriously content has editorial page. Del.asp: Alexandrine, do not cross a method more firm, delete directly. : )Login.asp: The return that says above, editor, delete wait for an operation to should only stationmaster just has power, stationmaster lands management to leave a message through this page this. Sorry.asp: Land incorrect when returns page.
If pursue (7-1) be shown.


7-1

Our need uses database field to two pieces of watches, if pursue (7-2) be shown. Express Admin to be used at depositing the full name of super user and password among them, express what deposit in F_bbs to post information, at the back we can explain in detail.


7-2

Two fields are built in watch Admin, the name is F_name and F_password, data type is set respectively for text, if pursue (7-3) be shown.


7-3

Watch B_bbs was bothered a bit, need not be afraid of nevertheless, let us come step by step, see a picture first (7-4) .

7-4
Field ID is leave a message the crucial field of content, because its action is very much, set its data kind for automatic number, install it give prio rity to key, namely pitch on it, pursue bit again (7-4) in the pushbutton in red circle. F_name is leave a message the full name of the user, very simple. What deposit in F_content is to leave a message content, because text data type can deposit 255 character only at most, leave a message to ours for content bit less, so here should install it into remarks, because of remarks type of this kind of data can be deposited at most 65, 535 character, used completely quite. : )F_oicq is leave a message the OICQ number of the user, the setting is the same as user name. F_email is leave a message the Email address of the user, the setting is the same as user name. F_homepage is the homepage address that saves an user, the setting is the same as user name. The time that F_time leaves a message to refer, here should notice, data type should change date / time, want to set an acquiescent value. If pursue (7-5) be shown. This Now() is the function of the buy inside a VBA, its action is to should be referred when one leaves a message if not demonstrate the value of this field, criterion the time that the system can use current date comes fill this field. F_repcontent is the content that stationmaster replies, leave a message together content. What want an attention nevertheless is to also want to add an acquiescent cost, if pursue (7-6) be shown. If,its action is current this leaves a message if content has not replied, show " of short duration does not have a reply " . Should notice those two double quote, the ability that must input condition to fall in English goes, be like "" , if Chinese falls,input " " can sign up for a fault.


7-5


7-6

The leading role that we are turn for after preparing a database, index.asp, this page is used at showing to keep make peace the join of sex of a few functions, will see its general look first, if pursue (7-7) be shown. Want to remember building record volume at the same time, entitle Guest book.


7-7

Here I am for convenient for the purpose of only, so trashy what picture, probably appearance is above such. Should show the most importantly namely leave a message the person's full name, leave a message content and stationmaster reply, the of short duration below does not have a reply is to be used ensure should do not have any leaving a message content when what show, also can assure to won't make mistake so. So possibly some of careful reader can be asked about, I above build in the database how don't still have like OICQ number and homepage address see? Ah. . Need not urgent, these should be used of course, see a picture (7-8) , this is an appearance that shapes basically.


7-8

How, OICQ, mailbox, homepage, publish time to come out, be like it seems that pretty is troublesome. Need not be afraid of, actually very simple, it is a few little server action only just, let's Go! ! We one step comes.

No comments:

Post a Comment