Cazpa.com PHP Developer & Website Designer

14Jan/1025

PHP Tutorial // User Registration w/ SQL

PLEASE CHECK OUT THE SECOND VIDEO OF THIS A quick and easy user registration using php, sql and phpmyadmin. For full size and source codes: www.neoblob.com SQL: CREATE TABLE `user` ( `id` int(10) unsigned NOT NULL auto_increment, `username` varchar(20) NOT NULL default '', `password` varchar(50) NOT NULL default '', `email` varchar(40) NOT NULL default '', `ip` varchar(20) NOT NULL default '', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;...

No related posts.

About Daniel Smith

I am the boss around here, if you need anything then send me a message :))

Popular Content & Keywords

add update delete in php,depositfiles hack,warning: mail() [function mail]: smtp server response: 554 the message was rejected because it contains prohibited virus or spam content in,rails vs php performance,add update delete records from sql server using php,php define variable,php add update delete,php tutorial deutsch,warning: mail() [function mail]: smtp server response: 554 the message was rejected because it contains prohibited virus or spam content,tutorial create contact form in dreamweaver php,ruby on rails vs php 2010,php tutorial // user registration w/ sql,,send emails with a web form: php scripting,php tutorial - register form insert into database
Comments (25) Trackbacks (0)
  1. What a difficult way to connect to database.. just put the information directly instead of making variabels at first :O You don’t have to write it again at the same page, anyway..

  2. “or or” “equals equals” lol..

    you dont have to say them twice.. and you dont need to set variables unless you are goning to run a “clean and make safe” on variables… you can directly use them on query… but this wont be secure.. so keep setting variables but make them safe….

  3. Bloddy Hell. YOUR VOICE IS A BITCH LIKE MY EX!!! IT IS AN ANNOYING SQUEAKING VOICE THAT NEVER SHUTS THE HELL UP!

  4. I mean.. this tutorial is OK for some beginners but why not jus put the host,dbuser,dbpass,and db variables in a config file and at the top jus put include “config.php”; its a much easier way than having to put all that info on a page ;)

  5. oh and good on the commenting that is great for beginners

  6. “mysquaaal” omg i nearly dies how annoying voice

  7. just be glad he showed oyu how besides a minor defect.. mys-q-l is how its pronounced but it looks like mysqaaal

  8. omg soo many typos in mine.. sooo many erros!!! ahhh CRAZY finnaly fixed thme..

  9. “hang on, I get IMed alot….”

  10. And “i nearly dies” with how much you fail at English.

  11. some addvice you have the register page connecting to the db twice you only have to connect 1ce on each page

  12. I would say its a fail at typing, not English

  13. I would like to point out something that someone has already pointed out: you only have to connect once per script.

    Also, I would recommend you didn’t use bad coding practices like the above…

  14. hello I’ve been watching your videos in php since last year.. I just wanna know what is the use of this symbol -> cause I saw my classmate use this for some sort..
    i.e $poll->vote($_SESSION['userid'],$_GET['id'],$_POST['option']);
    }

  15. If he fails at English who really cares? we are not his English teacher anyway you IDIOT

  16. Warning: show_source() has been disabled for security reasons in /home2/neoblob/public_html/phpsquad/tuts/php/1/index.php on line 87

  17. willzurmacht –

    -> is used to access an entity of an object. In this case the object is $poll and by doing $poll->vote, a function called vote within the poll class will be invoked.

  18. it is used when you have a class reference.
    in this example you are using a “function” from you object poll ($poll)

    Regards

  19. thank you Mr.MarcosRosa

  20. Thank you coopaloop86!!

  21. any time buddy!

  22. Thanks so much. You finally solved my problem!

  23. Audio quality is horrible.

  24. on 15.28 – how this “GO BACK” link work ?

  25. it might have been more useful to take the users through creating the tables via the phpmyadmin user interface instead of just copy pasting a load of SQL which most users probably wont understand.
    U know what they say, give a man a fish and he will eat for a day, teach him to fish and he will eat for a lifetime


Leave a comment

You must be logged in to post a comment.

No trackbacks yet.

Powered by WordPress Lab