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 ;…

Audio quality is horrible.
Thanks so much. You finally solved my problem!
any time buddy!
Thank you coopaloop86!!
thank you Mr.MarcosRosa
it is used when you have a class reference.
in this example you are using a “function” from you object poll ($poll)
Regards
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.
Warning: show_source() has been disabled for security reasons in /home2/neoblob/public_html/phpsquad/tuts/php/1/index.php on line 87
If he fails at English who really cares? we are not his English teacher anyway you IDIOT
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']);
}
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…
I would say its a fail at typing, not English
some addvice you have the register page connecting to the db twice you only have to connect 1ce on each page
And “i nearly dies” with how much you fail at English.
“hang on, I get IMed alot….”
omg soo many typos in mine.. sooo many erros!!! ahhh CRAZY finnaly fixed thme..
just be glad he showed oyu how besides a minor defect.. mys-q-l is how its pronounced but it looks like mysqaaal
“mysquaaal” omg i nearly dies how annoying voice
oh and good on the commenting that is great for beginners
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
Bloddy Hell. YOUR VOICE IS A BITCH LIKE MY EX!!! IT IS AN ANNOYING SQUEAKING VOICE THAT NEVER SHUTS THE HELL UP!
“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….
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..
Nice begin :O. To many faults .. :’(
why doesnt she start explain steps by steps what this shit is all about?