Step by step CRUD Operations in Object Oriented Programming using PHP

Поділитися
Вставка
  • Опубліковано 18 січ 2025

КОМЕНТАРІ • 160

  • @ZaidShahid777
    @ZaidShahid777 3 роки тому +7

    6:35 select function starts here
    35:02 insert function starts here
    41:15 delete function starts here
    43:32 update function starts here

  • @rajatsoni676
    @rajatsoni676 3 роки тому

    Sir apke vedio mujhe personally bhot pasnd ate hai apka smjhne k way bhot acha hai.

  • @nripendrasingh9327
    @nripendrasingh9327 4 роки тому +1

    AJ mere ko crud operation clear ho Gya . Thanks lot sir

  • @MegaRonaldinh0
    @MegaRonaldinh0 4 роки тому +5

    Oh my Good your are the best teacher i have ever seen in youtube thanks a lot very helpful

  • @aunmohammad6220
    @aunmohammad6220 4 роки тому +4

    I never missed your single video,
    Waiting for some advanced project using abstract , traits and complete series on laravel.
    Thanks for uploading basic but strong content.

  • @EricAstarcom
    @EricAstarcom 4 роки тому +1

    Even though I speak English and do not understand anything you say. I still follow your wonderful tutorial because of the source code you provide. This set you apart from the rest. Providing code and student following it prevent us from getting errors. Thanks once again. Do you please have English Channel. I and my friends have been waiting for it for a long time. We look forward to view it soon.

  • @prajakta7515
    @prajakta7515 4 роки тому +1

    Sir,thank you ... Your teaching Technic is very awesome... everyone can understand.

  • @MyTechOnlineSupport
    @MyTechOnlineSupport 4 роки тому +3

    Great tutorial sir.. I've learnt something new from your videos. Keep posting.. thanks

  • @ariyansgroup
    @ariyansgroup 4 роки тому +3

    Sir, Thank-you very much for your valuable class... Stay blessed.

  • @preetisingh-de6tz
    @preetisingh-de6tz 2 роки тому

    I learnt oops concepts from ur tutorial thanks alot 🙏🙏

  • @authenticite-me
    @authenticite-me 3 роки тому +1

    thank you

  • @techsupport_az
    @techsupport_az Рік тому

    Pahla video ye h jo bahut confuse kr dia .....baki sb video bahut achha explain kie h

  • @vickygupta1392
    @vickygupta1392 3 роки тому +1

    Very nice super 👍❤️👍❤️

  • @coding-with-namrata
    @coding-with-namrata 4 роки тому +1

    these videos are very easy to understand, thank you very much sir.

  • @jayantsharma9523
    @jayantsharma9523 4 роки тому

    Supreme Video, Easy to Understand & Easy to access, It's a valuable tutorial, thanks for that tutorial, really it too much helpful, Thanks a lot, sir.

  • @jeevanstha57
    @jeevanstha57 3 роки тому

    What a amazing explanation.I learned a lot from this video...

  • @rajashrikadukar8335
    @rajashrikadukar8335 4 роки тому +1

    Great tutorial sir thanks for video

  • @lovekesharora1765
    @lovekesharora1765 3 роки тому

    Thanks a lot for clear OOPS concept in PHP

  • @JyotiSharma-jh6qe
    @JyotiSharma-jh6qe 4 роки тому

    Your teaching method is wonderful ,Thank you for such a nice lecture

  • @pythusiast4701
    @pythusiast4701 3 роки тому

    Very helpful tutorials. I learnt complete PHP OOPs from this awesome playlist. Thanks man!

  • @mohitg1577
    @mohitg1577 4 роки тому +1

    Very meaning full series it was.
    Sir Great teaching skills you have . 👍👏👏

  • @theksg2020
    @theksg2020 2 роки тому

    Awesome video made by you. I am fan of you.. the way you talked and describe the details of every method of php programming is very useful for me to help to learn php. i want to learn from you professionally thru courses online.

  • @prajakta7515
    @prajakta7515 4 роки тому

    sir,thank you...Everytime helpful this knowledge.

  • @SachinGupta-ll5cg
    @SachinGupta-ll5cg 3 роки тому

    Your explaination style is amazing . Thanks sir 🙂

  • @synerdragon
    @synerdragon 2 роки тому

    @10:22 im getting error Notice: Trying to get property 'num_rows' of non-object in.... database is connected. table is correct but still im getting Notice: Trying to get property 'num_rows' of non-object in.... error

  • @rahul_thakur__
    @rahul_thakur__ 3 роки тому

    very nice video sir but jo insert wala method aapne bataya hai na use n=bahut he jyada complex kar diyaa aapne. mujhe samajh nahi aaya insert wala method then maine kisi aur ki video se samjha. Baaki sara samajh aa gya. thankyou for making such nics tutorials.

  • @jaichand7416
    @jaichand7416 4 роки тому

    Really your way of teaching is very nice and power full logic. I appreciate you bro

  • @husaintaufiqqurrahman5354
    @husaintaufiqqurrahman5354 3 роки тому

    Thank you so much sir

  • @sandeeppaswan9960
    @sandeeppaswan9960 4 роки тому +1

    Thanks sir....

  • @sandeeppaswan9960
    @sandeeppaswan9960 4 роки тому

    God bless you

  • @toeflgill
    @toeflgill 2 роки тому

    thanks you so so so much bhai ? love you

  • @santhoshkumar-ic8im
    @santhoshkumar-ic8im 4 роки тому +1

    Hello sir, I need to show success message after updating and delete, insert record
    How can I show that messages

  • @wahajmasood7876
    @wahajmasood7876 2 роки тому

    Sir yahi oop based sql system pdo pe bhi bnaskty han?

  • @robertdowney1823
    @robertdowney1823 3 роки тому

    Nice 🙂

  • @samy4170
    @samy4170 4 роки тому +1

    Thankyou soo much sir for this video. Bahut time se wait kr rha tha .
    Sir if possible ab CI framework start kr do aur ek project start kr do uspe. Because framework theek se clear nahi ho rha h.

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому +1

      Thanks, Samy.
      CI pe already video main bana rakhe hain.
      Codeigniter tutorial for beginners step by step: ua-cam.com/play/PLWCLxMult9xc0K60dd_-mwetSz81VoZ1r.html
      Create a simple Blog using Codeigniter from Scratch step by step: ua-cam.com/play/PLWCLxMult9xfvDf3dZYJg_4d0-RDqLYSF.html

  • @hiphopaashiq8138
    @hiphopaashiq8138 4 роки тому +1

    Thanks sir

  • @learncubetech982
    @learncubetech982 Рік тому

    Hello sir aapne foreach loop php ke tutorials mein nae bataya thaa but meine javascript ke tutorial padhe thee toh usme padha thaa

  • @ShortFactsCurrent
    @ShortFactsCurrent 3 роки тому

    Sir we can use ternary operator to build this logic at time 30:28 mins
    $sql .= $i++ == $c ? " $key = '$val' " : " $key = '$val' and ";

  • @ariyansgroup
    @ariyansgroup 4 роки тому +1

    Sir, Also give a class about CRUD Operations in Object Oriented Programming with Pagination & Search

  • @rohitbansla3040
    @rohitbansla3040 3 роки тому

    Notice: Trying to get property 'num_rows' of non-object in C:\xampp\htdocs\oops1hrs\oops.php on line 46
    0
    agar die ko hta dete hain to ye error show kr raha Sir
    timing video 32:01

  • @ShubhrajyotiMallick
    @ShubhrajyotiMallick 3 роки тому

    I have one suggestion if you use empty function to check blank or empty array/string it will be more compact.

  • @bathakor8105
    @bathakor8105 4 роки тому

    superb...........

  • @WPANDSEOTUTORIALS
    @WPANDSEOTUTORIALS 4 роки тому +1

    & Thankyou so much sir !

  • @gauravmazumdar9965
    @gauravmazumdar9965 4 роки тому +1

    Sir namespace and routing se isko kaise banaye.. jaisa ki MVC framework me hota h

    • @AjayChauhan-kb6pr
      @AjayChauhan-kb6pr 3 роки тому

      Agar apka mvc se hogaya. Can u please send the link

  • @riazahmadshigri8814
    @riazahmadshigri8814 4 роки тому

    thanks
    i was looking for this it would be better if used prepared statements please do it in next vedios

  • @toeflgill
    @toeflgill 2 роки тому

    just want to know with (anchor tag) how i send( id and table name) to edit function when press edit button .thanks

  • @dastgirakhtar9782
    @dastgirakhtar9782 4 роки тому +1

    Best for luck for our 15000 subscribers.

  • @ishikasirohi2278
    @ishikasirohi2278 2 роки тому

    Sir agr hum chahte h koi bhi user dbara same number na insert kre or na he update mein kre jo phone number already registered h database mein Vo kaisee krnge

  • @karthikbangera818
    @karthikbangera818 Рік тому

    please explain y you use mysqli object (in php mysqli class is present so we can use mysqli object)

  • @pankajsharma170
    @pankajsharma170 4 роки тому

    sit ye trika thik hai datbase se conection create krne k ya fer using constructor

  • @jay61483
    @jay61483 3 роки тому

    Thank You Sir for this video.I am one of your subscribers. I have a question that how to use prepared statement and parameter bindings in this oops structure? Please reply, thanks in advance...

  • @bhajakanta6145
    @bhajakanta6145 3 роки тому

    U focussed on hard coded value but when data will be entered through form how to do it.

  • @GSDA
    @GSDA 2 роки тому

    How Can we use affected rows in this Class

  • @spotlightevents3366
    @spotlightevents3366 3 роки тому

    im getting error and tried many time but the error didn't get solved

  • @webdevelopement6887
    @webdevelopement6887 3 роки тому

    sir apse mera ek question hai ki aap aaj ke time me bi mysqli use kar rahe ho apko to framework bi aata hai oop bi so why mysql use can also use PDO at the place of mysql

  • @shankaranand199091
    @shankaranand199091 4 роки тому

    Sir I get rying to get property 'num_rows' of non-object in error when I only pass one parameter that is table name in getData() function. any solution to this problem ? and also please tell me which function is there to get the error code when query fails ?

  • @rajashrikadukar8335
    @rajashrikadukar8335 4 роки тому +1

    header('location:abc.php') and window.abc.php
    both queries is not working in my system so give another suggestion sir

  • @tricksmix5627
    @tricksmix5627 3 роки тому

    Really nice brother...but my head crash.....really oop is not very easy and not very difficult. ha ha ha ha

  • @pankajsharma170
    @pankajsharma170 4 роки тому

    or sir sbhi class ak page pr bnana thik rhta hai ya fer alag alag page pr bna na thik rhta hai according to coding standard

  • @shahriarsharar8363
    @shahriarsharar8363 4 роки тому

    Sir, it would be very helpful if you would make a video on mysqli, query writing, database management, functions of localhost etc....

  • @sitaranurges
    @sitaranurges 6 місяців тому

    how we store data without condition means from form

  • @soularyan2420
    @soularyan2420 3 роки тому

    Sir content is very good but it has limitations in conditions like date between number between and fetching data from multiple tables

  • @surajup5039
    @surajup5039 3 роки тому

    Sir I'm getting warning : attempt to read property"num_row" on bool in c:\xampp\....... On line 65 . Can u help me sir

  • @YasirKhan-bl8lj
    @YasirKhan-bl8lj 3 роки тому

    Sir, why it is said that private and protected data members and functions are kept hidden from any other person, why it is needed to show off or give access these members to any other person even every programmer doesn't show code to others.

  • @IrfanKhaN-se5mp
    @IrfanKhaN-se5mp 4 роки тому

    Sir G when i insert file into database that doesn't work. Please make one video for that with insert function.

  • @excelinbusinesslife9454
    @excelinbusinesslife9454 3 роки тому

    Vishal its great tutorial , i have a question, is query created like this method is secure because you have not created through PDO method to built SQL Query. Please reply.

  • @ariyansgroup
    @ariyansgroup 4 роки тому

    Sir, where we use mysql_close function to avoid too many connection error poblem in CRUD operation while fetching and editing data

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому +1

      Don't needed. It will close automatically

    • @ariyansgroup
      @ariyansgroup 4 роки тому

      Sir, ur presentation is awesome If we give a connection close at our crud operation code, where we put it, and it's syntax..

    • @ariyansgroup
      @ariyansgroup 4 роки тому

      @@ProgrammingwithVishal Sir, can you please inform where we put mysql_close in our code..

  • @romsong
    @romsong 3 роки тому

    Sir isme last insert id kese nikalege

  • @mayurifonde6937
    @mayurifonde6937 3 роки тому

    Phpmyadmin par insert kiya to add ho raha hai

  • @WPANDSEOTUTORIALS
    @WPANDSEOTUTORIALS 4 роки тому

    Sir please reply zrur diyenga,
    kia aap search bar ki video provide kr skty? jismein search hum karein tou wo 1st keyword sy related pakry tmam categories i mean jo humny category di usy pura na b likhen tou wo dikha de.

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому +1

      Main apko batata hoon kya karna hai aap try karo nahi ho toh aap batao. Search ke liye ek textbox and submit button banao. Button ke click pe jo text user ne dala hai wo text ko table ke jis field main apko search karna hai uske sath select like query ka use karke search karo. Agar data retrieve ho toh print karo nahi toh data not found print karo.

    • @WPANDSEOTUTORIALS
      @WPANDSEOTUTORIALS 4 роки тому

      ​@@ProgrammingwithVishal Ok Thankyou sir, but i have already made as you said but my searching keyword by one alphabet not catching, that's the problem i.e. Shahrukh name has in my database but when i type only first letter s or shahr however not catching until i type full name.
      agr dear sir time hai aapkay paas is topic py bnanay kelye tou bnadijiyen wrna koi msla nahi hai . :)
      Love from Pakistan!

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 роки тому

      what is sql query, please tell me that

  • @mayurifonde6937
    @mayurifonde6937 3 роки тому

    Par UI mai add krte waqt add nahi ho raha hai

  • @chandrapathak3382
    @chandrapathak3382 2 роки тому

    sir apke pass curl ke through crud operation ka video nhi hai...

  • @SandeepVerama-l6k
    @SandeepVerama-l6k Рік тому

    Hi sir, duplicate email or password or confirm password validation ke sath data insert in table function kaise banaye???

  • @ankitgohel4776
    @ankitgohel4776 3 роки тому

    this is best video for crud but if we entered id and that id is not exist in our database then what sir??

  • @tipsnews25
    @tipsnews25 Рік тому

    awsome

  • @mathswithduply6226
    @mathswithduply6226 3 роки тому

    Great sir how to get last insert id after inserting in database in this crud

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  3 роки тому

      use mysqli_insert_id($con)

    • @mathswithduply6226
      @mathswithduply6226 3 роки тому

      @@ProgrammingwithVishal mysqli_insert_id and $this->connect()->insert_id; both return 0

    • @mathswithduply6226
      @mathswithduply6226 3 роки тому

      @@ProgrammingwithVishalsir mysqli_insert_id($this->connect()); also returns 0

    • @mathswithduply6226
      @mathswithduply6226 3 роки тому

      @@ProgrammingwithVishal sir plz give me solution

  • @ariyansgroup
    @ariyansgroup 4 роки тому

    Vishal Sir,
    To fetch data from MySql table using OOP, how many raw values, can we hold maximum in an array variable?
    In our case $result array variable at user.php page..?

  • @MyTechOnlineSupport
    @MyTechOnlineSupport 4 роки тому

    Dear Vishal,
    Please describe for two table data so i can display the data according to the need.
    i have two data tables with brands and products details. i want to get, delete, update and insert data in two two tables which are dependant to each other.
    Thanks
    Kishan Gupta

  • @rohitbansla3040
    @rohitbansla3040 3 роки тому

    Hi.Sir Good evening
    Sir Please aap jo ye boostrap krte ho na ye bhi humain btaya or dikaya kro ki kaise hua ye

  • @hptrends001
    @hptrends001 4 роки тому

    Sir I want some queries about functions please solve

  • @rajabhishek4973
    @rajabhishek4973 4 роки тому

    Sir mvc framework kese creat karte hai php main

  • @shubujarwal3661
    @shubujarwal3661 4 роки тому

    Sir hum usme mysqli,num_rows,query ...y hum hlf kyu likhr3 h...php m ye puri likhte the

  • @anjaligoyal8106
    @anjaligoyal8106 4 роки тому

    sir mra unknown database error kyu arha hai? connection problem arhi hai shyd

  • @tututokburol1333
    @tututokburol1333 2 роки тому

    भाई काम नहीं कर रहा है, मैं OOP सीखने की कोशिश कर रहा हूं लेकिन मुझे त्रुटि मिल रही है, इसकी आसान समझ है लेकिन ट्यूटोरियल के समान ही यह काम नहीं कर रहा है। प्लीज भाई मेरी मदद करो

  • @mayurifonde6937
    @mayurifonde6937 3 роки тому

    Mera data add nahi ho raha hai

  • @dineshuprety4461
    @dineshuprety4461 4 роки тому

    Thank you very much sir i am waiting PDO email verification from!!

  • @toeflgill
    @toeflgill 2 роки тому

    if(!empty($_GET['id'])){
    $conditons = array(
    'where' => array(
    'id' => $_GET['id']
    ),
    'return_type' => 'single'
    );
    $userData = $db->getRows('user4', $conditons);
    } what i am asking when press edit button then also pass table name too .

  • @rajatsoni676
    @rajatsoni676 3 роки тому

    Sir please ek crud operation oops with ajax calling pe bana degiye .. please sir .

  • @hptrends001
    @hptrends001 4 роки тому

    Please sir create vailed loging using this functions

  • @bhajakanta6145
    @bhajakanta6145 3 роки тому

    Hello Vishalji
    Pl.share the source code.

  • @parveenpanchal2611
    @parveenpanchal2611 Рік тому

    are bhai apna editor change kr lo
    vs code kyu nhi use krte ho?

  • @nishant.kelkar
    @nishant.kelkar 4 роки тому

    Sir aap see contact kaise kare

  • @muhammadnaimbabu
    @muhammadnaimbabu Рік тому

    Brothre who is amit actually?

  • @mandalji687
    @mandalji687 2 роки тому

    Oop php project upload

  • @rajabhishek4973
    @rajabhishek4973 4 роки тому +1

    Awosem

  • @aashiqali9510
    @aashiqali9510 2 роки тому

    ye video me insert ki table to nhi hai aur aap ache se video bnao

  • @cyberdinex
    @cyberdinex 3 роки тому

    very tough video to understand!!! How come these people who gave positive reviews get on with your videos I don't understand. You should try to make it more simple!!!

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  3 роки тому +1

      As per my understanding this is the most easiest way to explain oops. Possibly 3 reason for your issue.
      1. You don't know Hindi
      2. You don't know basic OOP's
      3. You don't know basic PHP

    • @cyberdinex
      @cyberdinex 3 роки тому

      @@ProgrammingwithVishal you dont have the required concept!!! Thats why made a complex video on simple concept. I understand hindi better than you.
      No need to argue with u further.
      Check out this great video here...
      ua-cam.com/video/GZMaAe0iUdc/v-deo.html.
      How simple he made us understand these concepts. View it from 19th min. in that video.

    • @cyberdinex
      @cyberdinex 3 роки тому

      Even checkout his whole playlist in crud

  • @techtechnology62
    @techtechnology62 3 роки тому

    Please help me

  • @pvcool123
    @pvcool123 4 роки тому +1

    Thank you very much ... This video helps me alot.... Sir i want your email id

  • @mandalji687
    @mandalji687 3 роки тому

    Warning:mysqli __constract()