
Share Video
Download Video: Click Here (save as ***.flv) | Real Player or any FLV Player Required
Permalink:
Embed Code:
phpacademy Says:
Dec 28, 2009 - To clear this all up, these tutorials are free. Don't watch them if you know you're not going to find them helpful!
vb6help Says:
Dec 28, 2009 - totally agree, your tutorials are great and useful and you helped me a lot with getting started, thanks for that.
cgofme Says:
Jan 6, 2010 - I think your syntax is out-of-date - doesn't PHP use "for endfor;" now? Just asking.
tuleo554 Says:
Jan 9, 2010 - it's a matter of taste and I'm with the video maker on this one endof isnt better/newer/more compliant or anything, it's just a different way
tuleo554 Says:
Jan 9, 2010 - despite the few negative comments I really think you have a natural talent for making tutorials, quick, concise confident you're gonna kill me for saying this (I know u said at the beginning it could be done easier) but I would have just used explode($fullname, " "); lol
cgofme Says:
Jan 9, 2010 - I shall kill my teacher. I could stick with C/C++ syntax all these years...
tuleo554 Says:
Jan 9, 2010 - oops, pardon me that should be explode( " ", $fullname);
tiger2380 Says:
Feb 7, 2010 - Great tutorial Alex. I have watched almost all of your video. I can say, you are the reason why I am good at PHP now. When I first started learning PHP, I searched Youtube and I found you. Thanks a lot for free tutorial.
GrinningSandCat Says:
Feb 7, 2010 - It would be interesting to see your code. Bet nothing kills your creativity when it comes to making spaghetti ;)
TheKingmidas222 Says:
Feb 10, 2010 - lol i was thiking same isnt there word parsing function also?
tuleo554 Says:
Feb 11, 2010 - not sure mate, tbh im new to PHP, more a Perl guy
stunningstylez Says:
Feb 23, 2010 - Is everyone really that stupid? He clearly explains there ARE OTHER EASIER WAYS OF DOING THIS. And many of you are questioning the way he is doing it...no s*** there are different codes for the same thing, HE EXPLAINS THAT. Just enjoy, and if you already know how to do it, why are you wasting time watching this tutorial? btw tuleo i know you are just joking, so no shots at you
ERIKTODX Says:
Mar 3, 2010 - Instead of $firstname = $firstname.mb_substr(.....); you could just use $firstname.=mb_subsrt(.....); - there is less code. Great video btw.
Foaman Says:
Mar 7, 2010 - I like reading about the multiple styles. It allows me to make a better network of all the data in my head, and it makes it easier for me to think of creative ways to code. Coding can be like an art. I tend to agree with you that nitpicking doesn't help a whole lot, but it's not like they're going to stop. So just enjoy it. - movingsole
Foaman Says:
Mar 7, 2010 - Of course it didn't work because you said that last name and first name were exactly the same and--Well they aren't the same, naturally!--, but let's see how you fix it. :)
Streetsmagazinetv Says:
Mar 18, 2010 - thanks very much for this u are a good teacher question why do u give the $firstname=$firstname I get a littleconfused there..Or does any one know? gr ocean
interrobanging Says:
Apr 8, 2010 - Ignore any bad comments phpacademy. Your tutorials are a great help - I even love it when you get things wrong because it helps to see how things can be fixed and the logic behind how it works. Keep up the good work. Rhys
mhzujo Says:
Apr 16, 2010 - This much simpler: $len = strlen($fullname); for ($i=0;substr($fullname,$i,1)!=" " && $i<$len;$i++) {} $firstname = substr($fullname,0,$i); $lastname = substr($fullname,$i);
op4l4 Says:
May 26, 2010 - This is the logical way to do this
op4l4 Says:
May 26, 2010 - My code was removed : I rewrite it : $fullname = explode(' ', $fullname); $firstname = $fullname[0]; $lastname = $fullname[1]; ;-)
Samzsite Says:
Jun 3, 2010 - not sure if anyone said this but... explode(" ", $fullname);
VitaminCM Says:
Jul 11, 2010 - Cool tutorial. I use XAMPP on my local machine to test things out before I implement them on my production web server. Thanks, Chris
gfloodsie Says:
Jul 15, 2010 - I don't get why some people search for tutorials on php but don't have the patience to listen and learn something. These are extremely good tutorials and the fact that they are free is a credit to you aswell. If people aren't interested in watching them then they shouldn't be searching for them.
jseddon001 Says:
Jul 19, 2010 - don't forget you can use the list() and explode() functions as well list($first_name, $last_name) = explode(' ', $fullname, 1);





phlunkable Says:
Dec 27, 2009 - Yes, please don't write useless tutorials, if you will make something basic at least you should have suggested better script.