Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (114)

Sign In or Sign Up now to post a comment!
  • THANK YOU!!! Awesome script and video!!

  • thanks :)

  • Amazing & very comprehensive tutorial among thousand tut, its that what i was looking for . thax a lot & carry on...........

  • you should make a site where you can download all this 

  • nice video thnxxx.......

  • good teaching

    i liked how you made it and thank u

  • good teaching

    

  • Comment removed

  • Alex would it be better to test the length before doing the query? Would this reduce the server load? Each key stroke being a query seem a lot if there are a lot of people connecting?

  • thank you alex for ur awesome videos :) 

  • username : form.username.value or username :  $('#username_input').val() is not working.....

  • I wrote this code but it did not work..

    If you have that problem, here the solution:

    Because:

    "username: form.username.value"

    This row is not working.

    Change this row this:

    username: $('#username_input').val()

    And it is going to work :)

    Nice job Alex! ;)

  • @phpacademy Just to let you know mate. I'm not sure if it's a problem just happening to me, but, if you have the 'DOCTYPE html' stuff in your header, the 'html' part stops this code from working.

    However, I love the tutorial, it's really got me wanting to learn Javascript, which has always been my biggest hate to web development because it looks so confusing when you look at websites source codes.

  • any idea why this would be working on linux based systems (mac/android) and not on a Windows (XP or Vista machine)? I am hosting this on a linux server. I am new at this and looking for help.

  • where to download the jqiery.js ?

    

  • I am not sure why the check.php file doesn't load. Can someone please help me? Thanks!

  • @saikirakiva Actually found out why. Miss a letter..haha..

  • what's the difference, ability wise, from jquery and ajax?

  • people width undifined index just put in

    check.php if(isset($_POST['username'])){

    //add the rest of your code here

    }

  • Notice: Undefined index: username , Why,plz?

  • Good tutorial i was looking for some like that a long tie thx you so much good tutorial.

  • $username = $_POST['xyz'];

    Gives me ERROR

    xyz Undefined

    WHY?

  • Man!! you doing a job that is greatly and hugely needed. I will make sure i spread the words around.

    God bless - and keep on keeping on!!

  • Alex, we have never met and perhaps we will never meet who knows. I am in USA. But,I must say, you have help me a great deal. I never thought I could have built a website from scratch. I have paid thousands of dollars to developers. Man!! you doing a job that is greatly and hugely needed. I will make sure i spread the words around.

    God bless - and keep on keeping on!!

  • my falt i correct it and its working thanks !!

  • I hav a question i made it here and its ok but i need to insert things in my database

    and wen i use action="insert.php" at form jquery do not work.

  • all php programmers i invite you to come and visit vzforumz.webs.com the newly found programming community.

  • Your work continues to inspire me. You're a great teacher. Please donate to Alex! I know I did.

  • with this code if a username with spaces after will be different to the same username without spaces

    could you thumb up this comment so it gets recognised !!!

    Thanks

  • You are a life saver alex!!!

  • Excellent, once again alex!

  • Thanks, Great tutorial.

  • GR88888888888888888 Tutorial ... very well explained / broken down .. keep up the good work

  • Comment removed

  • great tutorial, but does not work on firefox :/

  • @RomanovichCS

    It does work on my fireworks.

  • I had it working but after typing the rest of the code. even after removing the new code after the displaying data from the check.php file it just stopped working?

  • Comment removed

  • All cool, but is not so much performance friendly when you have a big database if you are going to make a connection everytime the user presses a key, it should be on blur imo, and adding a wait period after checking would be useful as well. With a database of almost a million users like mine, it would kill the server, specially if those bad intentioned users play with it.

  • Thx man, this is very helpfull!

  • form.username.value can be replaced by $(this).val()

    Since you're already using JQUERY then why do you still mix it with DOM? JQUERY can do everything in shortcuts.

  • Very good tutorial..

    I tried in firefox and it dosen't work!

    The error message is "undefined formlogin"

    However, when I'm login in my website (with php) it works.

    Why? Do you have any idea?

  • Comment removed

  • not working on firefox...any idea?

  • Very good tutorial, a very powerful tool too

  • you are the best !

  • @buhajus I'm not the best, but I try! Thank you.

  • @phpacademy

    no you are :D

  • @phpacademy Yes you are man. Great job you're doing. I've learned everything I know about php from you :-)

  • @phpacademy YOU ARE THE BEST. DON'T SAY I AM NOT THE BEST!

  • you are the best !

  • A hash mark "#" doesn't mean DIV, it means ID.

  • Hey alex, i love your videos,

    I just downloaded camtesia and im having trouble with the sound quality.

    besides downloading it, do you do anything special to it to record ur videos?

    How do you get such good sound quality?

  • I have a question is it possible to use alert message if the username is unavailable?

  • Thanks, this really helped me understand Jquery, wow it is amazing simple to implent.

  • you could use $(this).val() instead of form.username.value to take the value

  • Thanks, great tutorial :)

  • thanks , great video. really really much easier than you'd think. :)

  • Can you make an autocomplete tutorial? Thanks!

  • Hello Alex , I have been watching your videos for a while and I must say you do a great job explaining while you te4ach PhP. Much appreciated. I'm not sure if you have a tutorial; on this already but i wasnt able to find it. Would you mind doing a simple video for passing XML using CURL in PhP? Thanks

  • Brilliant!

    Best tutorial ever, both explanatory and "project-wise"!

    I mainly need the jQuery part for a letter counter but this will surely come in handy!

    Keep it up!

  • alex , how you get the jquery.js file? i know on google but got a bunch of them.

  • @glfunkyspyspy jquery.com

  • @glfunkyspyspy from jquery.com click on download. you'll get this file jquery-1.4.2.min.js but you can save it as jquery.js

  • @latlov ty

  • thank you teaching

  • Awesome tutorial! Still, it would be awesome to see how you can put data etc in the DB etc :D

  • alex u are great!

  • great tutorial!, code you please put the sorce code on your forum?

  • Thanks Alex

  • Thank you!! very very helpful :)

  • Very good! I have tried to turn several people to your channel in hopes of helping them. It's awesome to see that when a suggestion is made about a tutorial you actually do listen to us and go forth. Thanks again!

  • great

  • Comment removed

  • :) Thanks for the tutorial

  • where did you learned jQuery from is there any book or online course ?

  • @machine1112 I learnt it from Google. I've only been using it for a few days. Practice practice, and you'll get the hang of how easy it is to use.

  • @phpacademy its one of the easiest languages to use I think

  • @phpacademy nice tutorial Alex but you can use $(function(){ ... }); instead of $(document).ready(function(){ ... }); it way shorter and equivalent as well

  • @gonzo191 its best to do a document check so that the jquery code isnt executed before the page is loaded. e.g. how can you animate a table if the table isnt on the page yet ?

  • @machine1112 Many tutorials on the jquery.com website :D

  • @machine1112 you can learn it at jquery's site jquery.com or just google it

  • would it be possible to get the source code?

  • good tut but in the check.php i would write else if ($check_num_rows>=1) because if there are two names with same beginging then there will be nothing. like: database: phpacademy phpacadami user insert: phpacade => there will be nothing tell me if i'm wrong
  • @classensoft The mysql db require it to the WHERE data to be exactly the in db one.

  • great tutorial, thanks Alex.

  • is there a way for jquery to call a function in a php file called login.class.php. so i just want to have everything in one file but different functions.

  • your awesome.

  • Wow, extremely useful! Thanks.

  • also, could you please explain the difference between Ajax and jQuery?

  • @9081178 They are completely seperate things.

    Ajax: When you combine HTML and Javascript to work in harmony. Pretty much 95% of Javascript is done this way so the term is redundant IMO. Same thing as DHTML.

    jQuery: a Javascript library filled with essential functions. Hands down the most useful library for Javascript.

  • @vlogger3000 hmmm.... thanks.... :)

  • @vlogger3000 "When you combine HTML and Javascript to work in harmony." No..? It's nothing related to that.

  • hey Alex, you're no longer taking care of the video length. Please divide the videos in parts if possible. Its difficult to download such a big file at once. thanks.

  • @9081178 Sorry about that. In future I'll try and divide them up.

  • @phpacademy I actually prefer it. This way we know how long to expect the video to be.

  • @9081178 why is shorter videos better ?

  • @9081178 I prefer the full-length video's. No more looking for parts 2+3 of the relevant tutorials.

    Keep them this way please Alex, it's much better and more organized.

  • @DY357LX me too.

  • @9081178 No.. That's one benefit of being a youtube partner, being able to upload videos longer than 10 minutes.

  • @9081178 just leave it for 5 - 10mins then come back to it. I have no problem with it being a long video but I have a good connection speed.

  • @shaunno2009 well, downloading is the main issue, here in Pakistan, load shedding is a big issue, the video is in the download process and the power goes out, and i have to download the whole thing again. i know its easier to watch the whole video at once, but download it is a main issue.

  • @9081178 I see very understandable I know how annoying it is when then power goes off when your in the middle of something :P.

  • @shaunno2009 yeah dude, it sure is annoying.

  • I thought that only happens here in uganda...

  • @9081178 Don't you think all in one video is easy enough?

  • @nuwaus well, downloading is the main issue, here in Pakistan, load shedding is a big issue, the video is in the download process and the power goes out, and i have to download the whole thing again. i know its easier to watch the whole video at once, but download it is a main issue.

  • 3rd!

    

  • YAY FIRST :D

  • @cooldude3010 lol

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more