Difference between revisions of "DRAFT1846 Server Side Programs"

From BOARD18 Project WIKI
Jump to navigation Jump to search
(Initial page contents)
 
(→‎updtDraft.php: Fillin and also make updtDraftNpi.php)
Line 26: Line 26:


==updtDraft.php==
==updtDraft.php==
This is the server side code for the AJAX updtDraft call.
This is the server side code for the AJAX updtDraft call.<br>
It updates the specified table
row in the draft_table in the draft1846 database.<br>
Before doing so, it tests and then increments the
updtCount value in the "draft" json string. <br>It also
increments the curPlayer value.
 
==updtDraftNpi.php==
This is the server side code for the AJAX updtDraft call.<br>
It updates the specified table
row in the draft_table in the draft1846 database.<br>
Before doing so, it tests and then increments the
updtCount value in the "draft" json string. <br>But,
unlike updtDraft, it does not increment the curPlayer value.

Revision as of 12:52, 27 May 2020

This page documents the PHP AJAX called programs used by DRAFT1846.

emailConfirmation.php

This is the server side code for the AJAX emailConfirmation call.

emailDone.php

This is the server side code for the AJAX emailDone call.

emailLast.php

This is the server side code for the AJAX emailLast call.

emailNext.php

This is the server side code for the AJAX emailNext call.

getDraft.php

This is the server side code for the AJAX getDraft call.

makeDraft.php

This is the server side code for the AJAX makeDraft call.

sendEmail.php

This is the server side code for the AJAX endEmail call.

updtCfrm.php

This is the server side code for the AJAX updtCfrm call.

updtDraft.php

This is the server side code for the AJAX updtDraft call.
It updates the specified table row in the draft_table in the draft1846 database.
Before doing so, it tests and then increments the updtCount value in the "draft" json string.
It also increments the curPlayer value.

updtDraftNpi.php

This is the server side code for the AJAX updtDraft call.
It updates the specified table row in the draft_table in the draft1846 database.
Before doing so, it tests and then increments the updtCount value in the "draft" json string.
But, unlike updtDraft, it does not increment the curPlayer value.