Posted By:
Anonymous
Posted On:
Monday, January 26, 2009 02:28 PM
Could someone look over this code and tell me what I need to do. I want to have a user enter the 3 fields of information and generate a number based upon the 3 variables. I'm a real noob so go easy. The website I was using was extremely basic. Couldn't find what I needed. Here is the link http://pwotd.appjet.net/ to the application. Here is the code /* appjet:version 0.1 */ var Month = 0 var Day = 0 var DayofWeek = 0 var POTD = 0 printp("Please enter # of Month (1 - 12):"); printp(form("/", "Month")); print("Please enter # of Day (1 - 31)"); printp(form("/", "Day"));
More>>
Could someone look over this code and tell me what I need to do. I want to have a user enter the 3 fields of information and generate a number based upon the 3 variables. I'm a real noob so go easy. The website I was using was extremely basic. Couldn't find what I needed. Here is the link http://pwotd.appjet.net/ to the application. Here is the code
/* appjet:version 0.1 */
var Month = 0
var Day = 0
var DayofWeek = 0
var POTD = 0
printp("Please enter # of Month (1 - 12):");
printp(form("/", "Month"));
print("Please enter # of Day (1 - 31)");
printp(form("/", "Day"));
print("Please enter # for Day of Week (Sunday = 0 Saturday = 6");
printp(form("/", "DayofWeek"));
var POTD = (Month) + (Day) + (DayofWeek*5);
printp(request.param("Day"));
<<Less