In logged profile ( without user id in the url) I got the following warning, and empty array: Array ( ) Warning: Undefined array key "id" in C:\xampp\htdocs\mybook\profile.php on line 18 in the profile linked with id all is fine, without warnings line 18 is $profile_data = $profile->get_profile($_GET['id']);
@brainiacmarco401443 минут бұрын
Solution in user.php href sends to profile.php?id=<?php echo $friend_row['userid'] ?> not to only profile,php so: in profile.php $profile = new Profile(); if(isset($_GET['id'])){ $profile_data = $profile->get_profile($_GET['id']); // comes from user.php ==> <a href="profile.php?id=< php echo $friend_row['userid'] } if(isset($profile_data)){ $user_data = $profile_data[0]; }
@brainiacmarco401441 минут бұрын
This Way I got it " if(isset($_GET['id'])){ $profile_data = $profile->get_profile($_GET['id']); // comes from user.php ==> <a href="profile.php?id=< php echo $friend_row['userid'] } if(isset($profile_data)){ $user_data = $profile_data[0]; } "
@brainiacmarco401423 сағат бұрын
please like and subscribe
@PankajSharma-su6rkКүн бұрын
This is the best channel in the whole of youtube
@apoorvakeshav9903Күн бұрын
good sir, are you italian. great tutorial btw
@brainiacmarco4014Күн бұрын
please like the video guys
@wawy02 күн бұрын
my friend your voice is look like a youtuber it is too close for this i love your tut :)
@wawy02 күн бұрын
pro you are legend at first i was very scare of class and objects but with your tut i love them a lot :)
@QuickProgramming2 күн бұрын
@@wawy0 thanks for your kind comment. I used to be scared of them too at some point, but after learning them I love them and can't code without OOP now. Am glad to have helped
@wawy02 күн бұрын
pro you are legend :)
@wawy02 күн бұрын
i thanks you very much i have a very important project but i did not knows what should i do but after i start this beautiful course i got a lot of what i want you are brilliant thx a lot friend :)
@brainiacmarco40142 күн бұрын
Sir, did you post in some place the 4 videos for dimension in javascript for cover?
@brainiacmarco40142 күн бұрын
Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg() in C:\xampp\htdocs\mybook\classes\image.php:7 Stack trace: #0 C:\xampp\htdocs\mybook\change_profile_image.php(49): Image->crop_image('uploads/mountai...', 'uploads/mountai...', 1366, 488) #1 {main} thrown in C:\xampp\htdocs\mybook\classes\image.php on line 7 RECOMENDED, BUT I DONT FIND extension=gd2: find the php.ini file in the xampp folder and edit the line with extension=gd2 remove the semicolon at the beginning of the line. restart the server UNCOMMENT A SIMILAR ;extension=gd, ;: extension=fileinfo extension=gd extension=gettext
@nathalyliberalotto98122 күн бұрын
And what about the next videos?
@wawy02 күн бұрын
thx thx thx thx :)
@wawy02 күн бұрын
thank you veru much facebook is very big i did not know we should do a lot of code to make something like it :)
@wawy03 күн бұрын
thx a lot you are real monster :)
@wawy03 күн бұрын
you are the best teacher ever on the earth this is like magic pro keep the good work :)
@wawy03 күн бұрын
u are the best pro i love how easy you teach thx from my heart :)
@wawy03 күн бұрын
thx a looooooooooooooooooooooooooot :)
@wawy03 күн бұрын
thx a lot my English is so bad but you are the best teacher ever :)
@brainiacmarco40143 күн бұрын
Sir, could we do this to have a folder by userid? '$filename = "uploads/".$user_data['userid'] . "/" .$_FILES['file']['name'];'
@wawy03 күн бұрын
thx a loooooooooooooooooooooooooooooooot
@wawy03 күн бұрын
u are amazing :)
@wawy03 күн бұрын
friend i hope you teachc php like this :)
@wawy03 күн бұрын
pro u are a real legend shine beautiful tut i ever seen on youtube very easy to learn :)
@brainiacmarco40143 күн бұрын
great job mr Eathorne
@Rio_Akram_Miiro3 күн бұрын
this video is so inforamative. i am trying to convert a certain script that i purchased from codecanyon and it's a POS and i want to make it a stand alone Destop application. do you have any resoucre on how we can use Use Mysql database? Otherwise thanks for sharing
@fatimahmath48193 күн бұрын
Free pales tine
@ToniMuttschall4 күн бұрын
Hello, what if the create_userid function returns a value that already exists?
@saharghasemi-h9k4 күн бұрын
Thank you, It's really good
@brainiacmarco40144 күн бұрын
Great job!
@brainiacmarco40144 күн бұрын
I do'nt know why exactly but type text must do CREATE FULLTEXT INDEX idx_bar ON posts(post) to create Index
@Sj-yf2jg5 күн бұрын
man i like the background music also 😂
@archiealvarado88316 күн бұрын
Pls comeback sir we need more from you. I love PHP because of you. You are amazing.
@archiealvarado88316 күн бұрын
Sir we need you. Please upload videos again. I learn PHP because of you.
@brainiacmarco40146 күн бұрын
Great job Eathorn, congratulations from Brazil
@rizigrizigs28897 күн бұрын
Thank you for the awsome effort. Is thee any way for providing the conplete source code of the whole tuotorials as one zipped file for download?
@udehpatrick12578 күн бұрын
Hello Quick Programming. Just want to thank you for your free tutorials on KZbin. I have been following your tutorials more especially the school management system that covered up to 201 videos, oop, e-commerce and much more👍👍. you are GOD's sent. Thank you a million times and may GOD ALMIGHTY continues to bless you with more wisdom, insight and much more that could never imagined. Remain blessed
@mawudzrohounnake64228 күн бұрын
Hello master In the session class, in user function 👇 if(empty($key)) { $_SESSION[$this->user_key]; } i think "return" keyword is missing
@brainiacmarco40148 күн бұрын
That way cleans data if submited with success: ' '<?php include("classes/connect.php"); include("classes/signup.php"); // after errors keep data filled before $first_name = ""; $last_name = ""; $gender = ""; $email = ""; if($_SERVER['REQUEST_METHOD'] == 'POST'){ $signup = new Signup(); $result = $signup->evaluate($_POST); if($result != ""){ $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $gender = $_POST['gender']; $email = $_POST['email']; echo "<div style='text-align:center; font-size:16px; color:white; background-color:grey;'>"; echo "<br>the following errors occured:<br><br>"; echo $result; echo "</div>"; } } ?>'
@mouhameddiouf50858 күн бұрын
wow you are so good
@mouhameddiouf50858 күн бұрын
amazing great work as usual
@ishmaelakaboa9 күн бұрын
do you sell the source code?
@Nickkowild10 күн бұрын
humm don't work for me, i have in console error : Uncaught TypeError: Cannot read properties of undefined (reading 'myindex') at XMLHttpRequestUpload.<anonymous>
@brainiacmarco401410 күн бұрын
Great job man! excelent didatic and clear perfect English!
@brainiacmarco401410 күн бұрын
Until here in the first day, congratulations for you didatic