Added: 5 years ago
From: lifeg0eson666
Views: 50,588
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (90)

Sign In or Sign Up now to post a comment!
  • 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.

  • can't see what you are typing >:(

  • you should write it in javascript instead, because now, the server have to do all the work, and it's very unnecessary.

  • @TheGroovyChili word. that way there won't even need to be page loads.

  • funny video, I completed this tutorial using eclipse PDT. It corrected "function" during typing.

    Thank you!

  • Ugh sorry, the bad video quality makes it hard to follow because I can't see a single thing.

  • 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.

  • This has to be ugliest fucking code i ever saw. For your own good study OOP or atleast functions.

  • 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 8 year olds don't write very good tutorials.

  • @iamanending

    "then we do THIS"

    "then we do this AGIIIIN" which is again<

  • Nice work. keep it up. mean time come for social media marketing for esteembpo**com

  • 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...

  • Could you PLEASE post this .php somewhere (even as a .txt document) I really would like this.

    Thank you.

  • very nice ty but kind of hard to see(zoom in more or try another prog) and a bit difficult to understand(background)

  • can I use wamp or is xxamp better when I practice with php???

  • 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

  • dude can u make one that counts powers????

    that wud be awesome....

  • just use pow(base,exponent)

  • @lifeg0eson666

    No.

    function pow(base, exponent)

    { if (exponent <= 1) return base; else return base * pow(base, exponent-1);

    }

  • @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 meant to say if (exponent == 0) return 1;

  • @sharpnova2 Fair enough. But this tutorial is four years old, I didn't know as much as I do now.

  • dude why  im getting error on line 13????

  • Good script...5*....I want to be programmer like you...i am 95' and i am learnig Vb and php xD

  • s3nd me file plz m8 i cant see shit an iv tryed 4 hours guessing :S

  • type &fmt=18 in the end of the link -.-

  • I get it but it SUCKS.

  • 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

  • Thanks for the video! 5*

  • 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

  • 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

  • who the fucking person made u a fukin youtube fukin partner??!???

  • fuck off

  • make the text BIGGER!!!!!!!!!!

  • you need better quality! i have a hard time readin your text!!!!!

  • whats the code

  • == doesn't mean "equals equals", it means "equals"

  • Comment removed

  • You sound like a robot or something

  • very true!

  • Just a minor suggestion, you should close your tags.:)

  • 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! :)

  • Kk i did evrything but when i enter the numbers and func and hit calculate it just refreshes the page with no solution: text

  • Thanks, you made my day! xD

  • Welcome :D

  • it would help if you used xhtml for your coding but otherwise, this helped me out alot!! -subscribed-

  • awesome, it´s working, thanks man!

  • thank you

  • what about type doubles? do that with switch cost you 5 lines of code

  • An easier way is to do this for the calculation itself:

    $sum = $num1 + $func + $num2;

    eval($sum);

    lol.

  • 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.

  • what means your last line, can anyone execute php in my web site, and how???

  • google: "xss", "sql-injection"

    hth

  • google: "xss", "sql-injection"

    hth

  • 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?

  • cant see! plz make a vid with bigger fonts!!!

  • Your voice is sexy ;)

  • 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

  • Wouldn't it be better to use switch instead of doing all of those ifs?

  • 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*

  • Try googling wamp or xampp

    and thanks :D

  • 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.

  • Genial ! Excelente Screencast

    Saludos

  • Great help

  • Thanks :D

  • please remake with bigger font as i got error lol cos i cant see it

  • cannot understand all characters ...

  • I'll remake it, in future days

  • nice tutorial... i wish i'd started learning php a year or so ago

  • thanks :)

  • 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.

  • when i put it on my site and you click the "go" button, it goes blank please help me, whats wrong? ;[

  • awesome I like calculators

  • Thanks :D

  • 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.

  • Nice tutorial, thanks!

  • No problem :D

  • thx for the guide :)

  • No problem :D

  • 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..

  • Thanks, and have fun learning PHP :)

  • Thanks a lot for all your job !

  • No problem :D

  • 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

  • I'm old school.

  • Sorry but i think it's a weak tutorial, bad HTML, bad PHP scripting. Not something you want to learn people..

  • 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.

  • 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". ;)

  • Yeah. I've started that Thanks!

  • btw... looks like some kiddie 'hacked' ur website? it goes to index.pwn

  • Lol, nope, I did that, using MIME types.

  • lol ok..

  • great stuff... please carry on making videos!

    I'm now gonna go through all your videos...

  • Thanks for the comment! I will do!

  • Excellant, very useful to get a quick education in php mysql !

Loading...
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