Any Ideas on how to change the Check New Username to work on an update form instead of an insert form


hi all,

i think i've attached code below, checks whether username exists in table, i've ammended this, have number of sites accesing database, i'm checking against siteid (you see have added following code , jbacasiteid = '1'") -

as i'm using email address username, , email addresses can change, i've given (or to) user option of changing username, haven't done applied check new username behaviour this.

does have ideas how best apply check new username update record behaviour, , include check against siteid?

many thanks

i have modified checkusername behavior asp , code work, not editable dw wizard.
just change second line
' *** redirect if username exists
mm_flag = "mm_insert"

to:
mm_flag = "mm_update"

if made update dw update record wizard there hidden field added. if not
<input type="hidden" name="mm_flag" value="mm_update" />
then change values in code whatever form has.



More discussions in Develop server-side applications in Dreamweaver


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support