x27;") + "'"
rsUser.CursorType = 0
rsUser.CursorLocation = 2
rsUser.LockType = 1
rsUser.Open()
rsUser_numRows = 0
%>
<% If Not rsUser.EOF Or Not rsUser.BOF Then %>
1
<% End If ' end Not rsUser.EOF Or NOT rsUser.BOF %>
<%
rsUser.Close()
Set rsUser = Nothing
%>
.
>
> In your AJAX response conditional check, you want to do
> if (response == "1")
> (with the double-quotes)
> Otherwise, you're checking for an integer. What's returned is a String
> type.
>
> On Sep 28, 10:31 am, factoringcompare
> wrote:
>
&g
n that the username is taken. Which it is not
On Sep 28, 9:05 pm, MorningZ wrote:
> Why do you have a page with a php extension?
>
> As for helping further, it would be a huge help if you post some non-
> working code... you could have a bad selector, bad syntax, who
> knows...
elp prevent SQL injection attack
> - Take that username and check against the database
> - echo (Response.Write) the number of rows found
> - Close the database connection
>
> On Sep 28, 1:26 pm, factoringcompare
> wrote:
>
>
>
> > OK, I am trying to get this exam
page in php that you want to mimic, and simply have
> asp send back to the browser the same information
>
> On Sep 28, 3:58 am, factoringcompare
> wrote:
>
>
>
> > Hi,
>
> > Reasonably new to web building. I am now just updating my site with
> > jQuery (fi
Hi,
Reasonably new to web building. I am now just updating my site with
jQuery (first time user).
I would like to implement an Ajax username checker on a new client
registration form. All the tutorials and examples I can find use
jQuery and php. Unfortunately, I have taught myself Access and ASP
6 matches
Mail list logo