Hey guys, I'm doing several videos on PHP Programming videos as well as other languages, if you're truly interested in learning come check out my channel :) High quality tutorials, as well as, high quality explanations. :) Subscribe if you like and would like to get my videos as I post them! :D
I believe experts like "danie11982" and "iamaneding" should not watch this video, which is intended to a for bigenners.
If you are that good in teaching PHP/programming then you(danie1982 & iamanending) should post your own tutorials and create your own educational channels.
i agree.. the first thing I ever learned was how to organize my code.. and its just.. a good practice. it made me crazy watching this.. especially when he was saying "then we do THIS" but not explaining WHAT or WHY. but i mean.. it was helpful for what it was i guess..
is it just me because i cant see nothing you type kinda defeaths the purpose of a tutorial if we cant see what your doing for knowing all this PHP i would think youd be smart enough to make the font bigger
ok first of all you don't need so many things to make a calculator.second:guys if you copy what he writes in notepad that doesn't make you a programmer.I know that my comment will be rated with "-" and so on but that's my opinion :D
hey my name is zack i like your tutorials they're good i already know about 8 other programing languages and am still lernning this one. but i did have some truble with this tutorial because i coulden't really see that much of the text nor could i understand you very well...... in other words it sucks
I like your tutorials even though i don't program in server-side languages. I am a computer engineering student, but i assure you, you do inspire me! :)
If you do this in this statement you don't need eval() anymore.
However using eval() is the dumbest thing you can do cause if you run this application on your own website you would allow everyone to execute own PHP code.
Also add check; if the second number is 0, and the function is division, then echo to the user that it is impossible to divide by zero. Otherwise, you get an error. :P
Dude, you rock at coding. :) Maybe you can make like a super hi-tech calculator (lol). But anyway really cool calculator :) Could you help me set up that stuff where you view PHP files on your computer? I'm having trouble *subscribed*
He's got a good start on it but honestly alot of that is redundant code and can be shortened and made alot better. He's using the most basic php and basic html. He sounds about 14-15 so for his age he's doing great. To be a truely awesome coder it's not what you can make it do but how you make it do it.
it's a good tutorial but i think that you need to do it again with a bigger font-size cuz i follow the steps but it doesn't work i think i've something wrong but i can't see what is it because the simbols you use on the video are to small and it let confuse the people.
' Omg .. I dont like the tutorial, or yes, I do, but please make a new one with bigger text, cause I can't read what there stands and you dont say it.
This is a good way to show people how to use math in php although beginners should beware... Making a tutorial about this in php makes unneccesary requests to the server when Javascript could be used to do this on the client side.
Muy bien.. realmente aprendí y comprendí bastante, debo elevar una base con nombre apellido y foto y me parece mu dificil pero con tu ayuda todo está OK
nice job dude, starting early, i did the same thing except I did C++, web design, and some visual basic, now i am starting PHP, its closely related to C++, so it should be fun,... thanks man your videos boost me up..
Hey, nice tutorial but i agree that you should try to tidy up your coding. Why are you using notepad? PHP designer '07 or something similar would do a better job with syntax highlighting and indents
No need to call it bad. All that matters is what the user gets out of it. If they find it helpful to them, then let that go. If you don't like it, that's your problem.
Hint: You should use $array['key'] instead of $array[key]. If you use $array[key], the parser causes a parse error if you use a reserved word like "function". ;)
Cool :D
BTW: what are the thingys you type after the add and mul?
it's a ")" and after it the screen is too blurry for me to regonise.
*Wishes you can put stuff up in HD sometime*
I am such a noob lol.
Newwaver2007 3 months ago
This has been flagged as spam show
Hey guys, I'm doing several videos on PHP Programming videos as well as other languages, if you're truly interested in learning come check out my channel :) High quality tutorials, as well as, high quality explanations. :) Subscribe if you like and would like to get my videos as I post them! :D
TheProgrammingSchool 1 year ago
can't see what you are typing >:(
klunk4real 1 year ago
you should write it in javascript instead, because now, the server have to do all the work, and it's very unnecessary.
TheGroovyChili 1 year ago
@TheGroovyChili word. that way there won't even need to be page loads.
sharpnova2 1 year ago
funny video, I completed this tutorial using eclipse PDT. It corrected "function" during typing.
Thank you!
kazakvmik 1 year ago
Ugh sorry, the bad video quality makes it hard to follow because I can't see a single thing.
arronhunt 1 year ago
I believe experts like "danie11982" and "iamaneding" should not watch this video, which is intended to a for bigenners.
If you are that good in teaching PHP/programming then you(danie1982 & iamanending) should post your own tutorials and create your own educational channels.
PinkyFromPK 2 years ago
This has to be ugliest fucking code i ever saw. For your own good study OOP or atleast functions.
daniel1982 2 years ago
i agree.. the first thing I ever learned was how to organize my code.. and its just.. a good practice. it made me crazy watching this.. especially when he was saying "then we do THIS" but not explaining WHAT or WHY. but i mean.. it was helpful for what it was i guess..
iamanending 2 years ago
@iamanending 8 year olds don't write very good tutorials.
sharpnova2 1 year ago
@iamanending
"then we do THIS"
"then we do this AGIIIIN" which is again<
xouttahellx 1 year ago
Nice work. keep it up. mean time come for social media marketing for esteembpo**com
titalminarisa 2 years ago
se la llevan facil..toa esta nota es full ingles..toy q vuelo con su bendito idioma, y eso q dicen q el mio es mas complicado...
yoniromero 2 years ago
Could you PLEASE post this .php somewhere (even as a .txt document) I really would like this.
Thank you.
yesac519 2 years ago
very nice ty but kind of hard to see(zoom in more or try another prog) and a bit difficult to understand(background)
KINGV3NOM 2 years ago 2
can I use wamp or is xxamp better when I practice with php???
stopcyberbullies12 2 years ago
is it just me because i cant see nothing you type kinda defeaths the purpose of a tutorial if we cant see what your doing for knowing all this PHP i would think youd be smart enough to make the font bigger
sli2305 2 years ago
dude can u make one that counts powers????
that wud be awesome....
Mathrixxx99 2 years ago
just use pow(base,exponent)
lifeg0eson666 2 years ago
@lifeg0eson666
No.
function pow(base, exponent)
{ if (exponent <= 1) return base; else return base * pow(base, exponent-1);
}
sharpnova2 1 year ago
@sharpnova2 Mathematically that's wrong. If you wanted pow(10,0) your "function" would return 10, where it should return 1. n^0 = 1.
lifeg0eson666 1 year ago
@lifeg0eson666 meant to say if (exponent == 0) return 1;
sharpnova2 1 year ago
@sharpnova2 Fair enough. But this tutorial is four years old, I didn't know as much as I do now.
lifeg0eson666 1 year ago
dude why im getting error on line 13????
llerena40 2 years ago
Good script...5*....I want to be programmer like you...i am 95' and i am learnig Vb and php xD
Ivan95le 3 years ago
s3nd me file plz m8 i cant see shit an iv tryed 4 hours guessing :S
Jamieduk999 3 years ago
type &fmt=18 in the end of the link -.-
anven11 3 years ago
I get it but it SUCKS.
pokemonmaster123will 3 years ago
ok first of all you don't need so many things to make a calculator.second:guys if you copy what he writes in notepad that doesn't make you a programmer.I know that my comment will be rated with "-" and so on but that's my opinion :D
virusmaker28 3 years ago 9
Thanks for the video! 5*
Pressingon2wealth 3 years ago
hey my name is zack i like your tutorials they're good i already know about 8 other programing languages and am still lernning this one. but i did have some truble with this tutorial because i coulden't really see that much of the text nor could i understand you very well...... in other words it sucks
casandramar 3 years ago
it's great that you know 8 other pl's but you should also know how to write english. that's a problem of computers, they tend to make you illiterate
bogdanp9 3 years ago
who the fucking person made u a fukin youtube fukin partner??!???
nextblain 3 years ago
fuck off
gayaco111 3 years ago
make the text BIGGER!!!!!!!!!!
XxRaxierxX 3 years ago
you need better quality! i have a hard time readin your text!!!!!
XxRaxierxX 3 years ago
whats the code
zachary123456789spon 3 years ago
== doesn't mean "equals equals", it means "equals"
PaulJohn204 3 years ago
Comment removed
orbit0789 3 years ago
You sound like a robot or something
craziedruma93 3 years ago
very true!
nextblain 3 years ago
Just a minor suggestion, you should close your tags.:)
jiffystiffy 3 years ago
I like your tutorials even though i don't program in server-side languages. I am a computer engineering student, but i assure you, you do inspire me! :)
TheBatchGuy 3 years ago
Kk i did evrything but when i enter the numbers and func and hit calculate it just refreshes the page with no solution: text
LeetGamerz 3 years ago
Thanks, you made my day! xD
ArBee93 3 years ago
Welcome :D
lifeg0eson666 3 years ago
it would help if you used xhtml for your coding but otherwise, this helped me out alot!! -subscribed-
somuchsoul 3 years ago
awesome, it´s working, thanks man!
tanzi33 3 years ago
thank you
met3eb007 4 years ago
what about type doubles? do that with switch cost you 5 lines of code
PARDUSTULLIANA 4 years ago
An easier way is to do this for the calculation itself:
$sum = $num1 + $func + $num2;
eval($sum);
lol.
Mikel4321 4 years ago
If you do this in this statement you don't need eval() anymore.
However using eval() is the dumbest thing you can do cause if you run this application on your own website you would allow everyone to execute own PHP code.
Err0r67o3 4 years ago
what means your last line, can anyone execute php in my web site, and how???
skarootz 3 years ago
google: "xss", "sql-injection"
hth
freddyfamous 3 years ago
google: "xss", "sql-injection"
hth
freddyfamous 3 years ago
it does not work! everything in calc up to the first br is php but after that the browser just thinks its plain html! what am i doing wrong?
kdmq 4 years ago
cant see! plz make a vid with bigger fonts!!!
kdmq 4 years ago
Your voice is sexy ;)
XtremeCoder101 4 years ago
Also add check; if the second number is 0, and the function is division, then echo to the user that it is impossible to divide by zero. Otherwise, you get an error. :P
HateAnarchy 4 years ago
Wouldn't it be better to use switch instead of doing all of those ifs?
HateAnarchy 4 years ago
Dude, you rock at coding. :) Maybe you can make like a super hi-tech calculator (lol). But anyway really cool calculator :) Could you help me set up that stuff where you view PHP files on your computer? I'm having trouble *subscribed*
RestrictedTV 4 years ago
Try googling wamp or xampp
and thanks :D
lifeg0eson666 4 years ago
He's got a good start on it but honestly alot of that is redundant code and can be shortened and made alot better. He's using the most basic php and basic html. He sounds about 14-15 so for his age he's doing great. To be a truely awesome coder it's not what you can make it do but how you make it do it.
s4t4n669 4 years ago
Genial ! Excelente Screencast
Saludos
isra307 4 years ago
Great help
abhishekgupta2007 4 years ago
Thanks :D
lifeg0eson666 4 years ago
please remake with bigger font as i got error lol cos i cant see it
Mattisdabest2007 4 years ago
cannot understand all characters ...
filimoanca 4 years ago
I'll remake it, in future days
lifeg0eson666 4 years ago
nice tutorial... i wish i'd started learning php a year or so ago
k4itora 4 years ago
thanks :)
lifeg0eson666 4 years ago
it's a good tutorial but i think that you need to do it again with a bigger font-size cuz i follow the steps but it doesn't work i think i've something wrong but i can't see what is it because the simbols you use on the video are to small and it let confuse the people.
naihtsirc123 4 years ago
' Omg .. I dont like the tutorial, or yes, I do, but please make a new one with bigger text, cause I can't read what there stands and you dont say it.
JonasToubeily 4 years ago
when i put it on my site and you click the "go" button, it goes blank please help me, whats wrong? ;[
pencildudett 4 years ago
awesome I like calculators
zachattackpro 4 years ago
Thanks :D
lifeg0eson666 4 years ago
This is a good way to show people how to use math in php although beginners should beware... Making a tutorial about this in php makes unneccesary requests to the server when Javascript could be used to do this on the client side.
trivumrawk 4 years ago
Nice tutorial, thanks!
ahlambtz 4 years ago
No problem :D
lifeg0eson666 4 years ago
thx for the guide :)
Chucker90pcm 4 years ago
No problem :D
lifeg0eson666 4 years ago
Muy bien.. realmente aprendí y comprendí bastante, debo elevar una base con nombre apellido y foto y me parece mu dificil pero con tu ayuda todo está OK
Thomasf2007 4 years ago
nice job dude, starting early, i did the same thing except I did C++, web design, and some visual basic, now i am starting PHP, its closely related to C++, so it should be fun,... thanks man your videos boost me up..
truepal20032001 4 years ago
Thanks, and have fun learning PHP :)
lifeg0eson666 4 years ago
Thanks a lot for all your job !
DorianM13 5 years ago
No problem :D
lifeg0eson666 5 years ago
Hey, nice tutorial but i agree that you should try to tidy up your coding. Why are you using notepad? PHP designer '07 or something similar would do a better job with syntax highlighting and indents
mark9991112 5 years ago
I'm old school.
lifeg0eson666 5 years ago
Sorry but i think it's a weak tutorial, bad HTML, bad PHP scripting. Not something you want to learn people..
Boeiend999 5 years ago
No need to call it bad. All that matters is what the user gets out of it. If they find it helpful to them, then let that go. If you don't like it, that's your problem.
lifeg0eson666 5 years ago
Nice tutorial, very useful for beginners!
Hint: You should use $array['key'] instead of $array[key]. If you use $array[key], the parser causes a parse error if you use a reserved word like "function". ;)
FunLeech 5 years ago
Yeah. I've started that Thanks!
lifeg0eson666 5 years ago
btw... looks like some kiddie 'hacked' ur website? it goes to index.pwn
abstractT 5 years ago
Lol, nope, I did that, using MIME types.
lifeg0eson666 5 years ago
lol ok..
abstractT 5 years ago
great stuff... please carry on making videos!
I'm now gonna go through all your videos...
abstractT 5 years ago
Thanks for the comment! I will do!
lifeg0eson666 5 years ago
Excellant, very useful to get a quick education in php mysql !
danpride 5 years ago