This is not bad - but I was actually expecting a "throw....catch... exception" explanation :D. Still thumps up for a good beginners tutorial :)
@techexpert20107 жыл бұрын
Thanks for the great tut. Can't wait for lesson 42
@llBestBoyll2 жыл бұрын
That's what i need thx ❤️
@drcod3r3297 жыл бұрын
welcome back please could you do a toturial about curl and api payment integration
@nakiapringley53913 жыл бұрын
Great video on error handling
@shaunmak80374 жыл бұрын
Thanks for the upgrade of mic
@ashrafulfuad29675 жыл бұрын
Thank you so much this video is also helpful for beginner
@ahgiynq5 жыл бұрын
Great Tutorial, Thank YOU
@lameduck16906 жыл бұрын
Glad you switched to Atom.
@mcg6429 Жыл бұрын
I was waiting for Try Catch Trow Exception
@Bilal.Hussain016 жыл бұрын
Awesome job brother !!!
@pahasararuwanpathira9750 Жыл бұрын
love you sir
@Russell.Jolly.20236 жыл бұрын
If memory serves, you should not use non php extensions for php code as it is possible for hackers to gain access to the file content of non php text files.
@ajazmiah7 жыл бұрын
Do you plan do teaching laravel ?
@aaammm18884 жыл бұрын
this is why im learning php html ccs javascript
@assmabenmussa42286 жыл бұрын
Why did we put the include_once function inside of the if statement and not at the top like we do every time? what difference does it make?
@mahmoods98613 жыл бұрын
If I dont want index.php appear on url area, what can be done to avoid that? i dont want user to know file extension type, which would let user know php as backend in use. how to avoid using the file extension name, like php in index file to appear in url?
@moatasemyakhni9253 жыл бұрын
I hope you found the solution back then, but if you didn't here is a link kzbin.info/www/bejne/Y2evqnpvfpJ5hsU of one of his videos on how to do that. He already cover that. Great channel indeed!
@kimmergal83304 жыл бұрын
Thank you❤
@omarabdul4947 жыл бұрын
Thanks, great lesson plz could you make complete web application real project so we can learn a howle things
@mackynikat88334 жыл бұрын
. I feel everytime each of your vids i experienced . i really need this one to fast level . I will have a party in this
@necronomicon-xmortis93622 жыл бұрын
Your coarse is realy good you have a great method of explaining but im still stuck i dont know javascrip php or sql yet but have seen syntax many times my issue is with " the button "and how to get the client info on the contact form emailed back to me there is mailto fuction onclick function and php and sql
@skylake97795 жыл бұрын
Dear When we have more buttons to execute Update, Delete, and Print function how to do that in form.
@yousufsulaiman22113 жыл бұрын
thanks
@MilanB7 жыл бұрын
Will you introduce some php projects such as cms, blog etc?
@matthweneldon86945 жыл бұрын
Why is it uncommon to trim the email address, thus eliminating white spaces? $email=trim($_POST['mail'])? I often get errors on pages because of white space. Thanks
@hey-simba4 жыл бұрын
hello i watch your vedio of system login also ... your lesson are very useful and good . i have one question that we have used error handling and error message for empty field here .... why dont we just write the input feild required ??? then the page will ask user to fill all the feild .Thus error cant happen regarding empty feild........ please reply and do correct me if i am wrong ???? any one ....stay safe....
@pianoLee-sx9dx6 жыл бұрын
Must you always call it index.php for your main page? Can you call it something like... errorhandling.php for your main page?
@austin163772 жыл бұрын
yeah
@jayrheylicong81046 жыл бұрын
Thank you much, i dont know how to pay you :)
@saleheen125 жыл бұрын
You don't know? Join his patreon
@amoghdatar27266 жыл бұрын
*Please would you reply:* *Atom vs SublimeText* *_WHICH YOU USE AND PERSONALLY LIKE AND WHY? :)_*
@novanjayesconde35697 жыл бұрын
Sir Daniel can you do some tutorial on how to make a system in php? just like inventory or student penalty recording
@hackmantutorials86256 жыл бұрын
I am getting object not found error on localhost/project/user/singup.php?signup-script=empty
@nizarbenghazi63216 жыл бұрын
plz attach subtitles in all videos
@shubhamsihasane6 жыл бұрын
You have included the database file inside if condition statement. is there any special reason to do that? why not outside of if statement at the top? Thank You!
@hey-simba4 жыл бұрын
hello i watch thisvedio of system login also ... your lesson are very useful and good . i have one question that we have used error handling and error message for empty field here .... why dont we just write the input feild required ??? then the page will ask user to fill all the feild .Thus error cant happen regarding empty feild........ please reply and do correct me if i am wrong ???? any one ....stay safe....
@anuragmy6 жыл бұрын
It may be better if you use && instead of || as all the feilds are necessary
@hey-simba4 жыл бұрын
hello i watch this vedio of system login also ... your lesson are very useful and good . i have one question that we have used error handling and error message for empty field here .... why dont we just write the input feild required ??? then the page will ask user to fill all the feild .Thus error cant happen regarding empty feild........ please reply and do correct me if i am wrong ???? any one ....stay safe....
@leud2k4 жыл бұрын
Is there a reason why you didn't use mysqli_real_escape_string in this lesson or you did it this way only because the focus of the lesson is on error handling?
@daniellarson82913 жыл бұрын
Extract() that post
@adampetersson68096 жыл бұрын
In swedish we also have Å Ä Ö that doesnt exist within the english language. When i get the email it just makes weird symbols, do you know how to fix this? :)
@1ch1go7986 жыл бұрын
change the font
@sasg879626 жыл бұрын
UTF-8
@The4tticuz6 жыл бұрын
When your connection to DB was successfull, set the charset like this: mysqli_set_charset($conn,"utf8");
@noeljose6 жыл бұрын
sir i think instead of using all these codes we can simply use the " required Attribute" in the html itself.
@ashimdahal1826 жыл бұрын
yeah but that wont be totally safe
@noeljose6 жыл бұрын
Ashim Dahal but still whatever the PHP code he writes does the same work as the required tag do
@ashimdahal1826 жыл бұрын
Then u use the one which you think is strong And if u get hackes u will know thwn
@noeljose6 жыл бұрын
Ashim Dahal don't get tempered man. It's just an opinion.
@zinaright6 жыл бұрын
Any self respecting application would do validation both at the client and server sides. Using just html tags may not be supported in some browsers for instance
@jere4734 жыл бұрын
This is more basic input validation.
@rawestmoreland6 жыл бұрын
Let's say a user left something blank AND entered an invalid email. Would you have to use javascript to display multiple error handlers?
@Dani_Krossing6 жыл бұрын
No it's possible using PHP as well :) just check for multiple conditions at once using the "AND" operator, and make sure they are the first conditions you check for. Or alternatively you could create an array with the errors inserted and at the end create error messages based on the array. But the first solution might be better since it is closer to what I did in the video :)
@richardwestmoreland33546 жыл бұрын
mmtuts thanks!!
@hey-simba4 жыл бұрын
hello i watch your vedio of system login also ... your lesson are very useful and good . i have one question that we have used error handling and error message for empty field here .... why dont we just write the input feild required ??? then the page will ask user to fill all the feild .Thus error cant happen regarding empty feild........ please reply and do correct me if i am wrong ???? any one ....stay safe....@@Dani_Krossing
@akashgoswami68455 жыл бұрын
My update query is not working can u help me?
@dhruvjain1417 жыл бұрын
In most of the forms you would have noticed that as we fill it ,it gets underlined by green and if we skip something it turns that field red ..how is that achieved ?
@s.n22935 жыл бұрын
jquery
@HussamAdil7 жыл бұрын
Thanks for useful video :) how i can sent message for you ? to request A specific lesson and thank in advance.
@tahakhan882 жыл бұрын
I came here to check for Throw Catch exception vs if else.
@saadieajal78323 жыл бұрын
I can't listen please Can you attach the script file ( cc ) to the video? Thank you so much
@algeriennesaffaires70175 жыл бұрын
i feel its annoying not closing the php tag, please close it
@rizkyade70542 жыл бұрын
hi i'm from the future
@ralphbaracena53287 жыл бұрын
tutorial number 42 ? where ?
@hey-simba4 жыл бұрын
please reply my question above in this vedio????
@muramasa75375 жыл бұрын
Why can't we use "elseif" ?
@activistcoder5 жыл бұрын
because you should replace that with polymorphism brov
@stephensunderlin11 ай бұрын
No sure why this showed up 6 years later when I'm searching for a simpley try/catch explaination. And I'm not going to lie, the code shown is pretty janky. Why not use a switch statement or in PHP 8.0 the new match expression. Much more elegent.
@johanstam36027 жыл бұрын
Not very descriptive for a error handler, better to echo them in the form instead of doing this in the url
@Dani_Krossing7 жыл бұрын
Photographyandcoffee.com Thats because we haven't gotten to the " display the error message" part yet :) the episode that gets uploaded tomorrow explains how. And I don't recommend echoing the error message directly in the PHP script since it is going to keep the user on the script page.
@adilismail35936 жыл бұрын
Where the heck is throw and exceptions?
@mackynikat88334 жыл бұрын
. I feel everytime each of your vids i experienced . i really need this one to fast level . I will have a party in this