Multiple Inline Insert into Mysql using Ajax JQuery in PHP

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024
  • In this video tutorial we are going to learn how to insert multiple inline table data into Mysql database by using Ajax Jquery with PHP. We have use HTML 5 Contenteditable attribute for editable table cell and by using JQuery we have append editable cell into table and by using Ajax send multiple table cell data to php script for insert multiple data into table. For Source code and online demo of this video tutorial - www.webslesson....

ความคิดเห็น • 85

  • @DebugWithAdam
    @DebugWithAdam 4 ปีที่แล้ว +4

    The Best Place to find a solution to your web Project, I am so amazed that when ever I couldn't find a solution to my problem in other part of the world, I found it here. Many thanks Guys, especially the tutor...

  • @idmansilla6961
    @idmansilla6961 2 ปีที่แล้ว

    very helpful tutorial, thank you
    Webslesson

  • @md.selimfakir4139
    @md.selimfakir4139 3 ปีที่แล้ว

    This is very nice tutorial. Thanks for making this tutorial. please go ahead

  • @cutieboyize
    @cutieboyize 3 ปีที่แล้ว

    Best tutorial I ever seen thank you sir

  • @marcinbadtke
    @marcinbadtke 3 ปีที่แล้ว

    Great video :-)
    One suggestion: it will be better for your application to take whole line '$query .= "INSERT into ..." before FOR loop and insert all values in one go. You can use syntax like:
    INSERT INTO table item (item_name,item_code,item_description,item_price) VALUES (tval1, qval1, pval1, dval1, aval1), (tval2, qval2, pval2, aval2), (tval3, qval3, pval3, dval3,aval3), ....
    It is much faster and uses less database resources.

  • @Ghost_877
    @Ghost_877 4 ปีที่แล้ว +1

    Thank you so much for the video !! You are the best !! But can you do a video for delete and edit rows after insertion ?? 👍👍👍👍👍👏👏👏👏

  • @nguyenvanuydstin1
    @nguyenvanuydstin1 7 ปีที่แล้ว

    Thank, Your video is of good quality, expect more publications

  • @alishodikin9407
    @alishodikin9407 3 ปีที่แล้ว

    Nice Tutorial , i find solution here .thanks

  • @code_breakerZZ
    @code_breakerZZ 7 ปีที่แล้ว

    This is awesome! Nice tutorial. Thanks for making this

    • @webslesson
      @webslesson  7 ปีที่แล้ว

      Oh, thank you Zulshaffikka! Always at your service.

  • @visakh916
    @visakh916 2 ปีที่แล้ว

    I need to enter item date as well. But no need to enter again and again in each time. What can i do?

  • @carlosanalistati
    @carlosanalistati 7 ปีที่แล้ว

    Muito obrigado por compartilhar seu conhecimento... É de muita ajuda.

  • @ZeroCoolMW
    @ZeroCoolMW 4 ปีที่แล้ว

    I know this tutorial has been around for a while, but I'm just getting around to seeing it based on a google search for something similar. It's a wonderful tutorial. Thanks very much for sharing. Initially, I had an issue with this working because my jquery libraries were loaded in the footer of my template. After moving all the javascript/jquery references to the head of the template, everything worked flawlessly. One question though. Many sources on the internet advise loading the jquery libraries in the footer. Given that mine was originally loaded in the footer and I had issues, what is the best way to load the jquery libraries and, will this tutorial work if jquery was loaded in the footer of the template with bootstrap also loaded there?

  • @hicham_ben_omar
    @hicham_ben_omar 3 ปีที่แล้ว

    Bonjour Merci pour ce contenu

  • @marineoutsource
    @marineoutsource 4 ปีที่แล้ว

    Why the first item is not inserting to the database?

  • @tommysuryajaya750
    @tommysuryajaya750 7 ปีที่แล้ว

    Wow!!
    This is great!
    Thankyou so much!

    • @webslesson
      @webslesson  7 ปีที่แล้ว

      Thankyou Tommy Surya Jaya, have a nice day!

  • @antonkudryashov3718
    @antonkudryashov3718 5 ปีที่แล้ว

    good day you will not prompt how to make in this example more fields for input ? just I tried to do as in the video but with a lot of fields but the entry of records is not happening can you tell what my mistake thank you

  • @loitongbamsanayai3797
    @loitongbamsanayai3797 6 ปีที่แล้ว +1

    Hi, thank you for the tutorial, it gave me a clear understanding.
    But I have two more requirements:
    1. How can I make the td non expandable (without giving fixed width in px, but i would like to give fixed %) while typing long data, 2. how can I include select option as td, and how will I take the value for insertion in DB? Please help how to do it. Thanks.

    • @bhumi7246
      @bhumi7246 6 ปีที่แล้ว

      Loitongbam Sanayai same question

  • @mrteeteller
    @mrteeteller 3 ปีที่แล้ว

    Column item_price. I want change from textbox to select option but I can't

  • @grivasar
    @grivasar 6 ปีที่แล้ว

    Its really really good about the dynamic concept

  • @TourettesTwitcher
    @TourettesTwitcher 6 ปีที่แล้ว

    How can we manipulate the insert.php code to make the - to actually DELETE records within a table?

  • @tharindumadushanka9674
    @tharindumadushanka9674 4 ปีที่แล้ว

    is this work for 1000 row and 20 columns table? why data truncate?

  • @RobertoRaymon
    @RobertoRaymon 4 ปีที่แล้ว

    How would this work with codeigniter? Which part would I add to my controller?

  • @AleatorioDesigual
    @AleatorioDesigual 7 ปีที่แล้ว +1

    When will you make a complete system for channel subscribers?

  • @AmranurRahmanchobi
    @AmranurRahmanchobi 5 ปีที่แล้ว

    thanks for this tuts.. it help me.. But have a problem.. passing multiple Data as array.

  • @mdkabirhossain3232
    @mdkabirhossain3232 7 ปีที่แล้ว

    Very nice ,great work

  • @GAMERS_IQ
    @GAMERS_IQ 4 ปีที่แล้ว

    Please can you post a video invoice bill design i didnt multiplication a two input values and show to the third input textbox and also doesnt store third input value in database its aal time showing 00 in data base

  • @dagneralenaguerra2095
    @dagneralenaguerra2095 6 ปีที่แล้ว

    excellent video, please I need an example to add rows within others for example:
    Questions and within the possible answers

  • @SahilKashyap64
    @SahilKashyap64 6 ปีที่แล้ว

    I want to get item_name block as constant. So whenever I press add the same value of item_name goes in the dB as long as I click add button

  • @yawness
    @yawness 5 ปีที่แล้ว

    Hi thanks for this tutorial. I have a little problem when I try to add a checkbox.
    I somehow can't get its value even when I'm using modem.push($(this).val());
    (modem is the array of checkbox).
    would you please help me solve this problem.

  • @ahmadfigo
    @ahmadfigo 4 ปีที่แล้ว

    thanks sir

  • @jefferlloydbadajos2589
    @jefferlloydbadajos2589 6 ปีที่แล้ว +1

    its all functioning but iwant to add select option value

  • @saikrishnakutcherlapati6708
    @saikrishnakutcherlapati6708 6 ปีที่แล้ว

    Did you have any code for expiry date attribute in the table I am struck with it.

  • @pakxdabu7447
    @pakxdabu7447 4 ปีที่แล้ว

    could you pls share how to update this multiple row coz i got error updating...thanksss

  • @sharryworld4299
    @sharryworld4299 7 ปีที่แล้ว

    when i insert the data then it gives error or data is not inserted.i executed your source code

  • @shahbazimma
    @shahbazimma 6 ปีที่แล้ว

    its really good but displaying alert for same times of checked item, how can i resolve it

  • @marineoutsource
    @marineoutsource 4 ปีที่แล้ว

    How to add select option in the table? please help

  • @Farinel2009
    @Farinel2009 5 ปีที่แล้ว

    great tutorial, but in my case $('#' + delete_row).remove() doesn't work. How can i fix it?

    • @ronlax
      @ronlax 5 ปีที่แล้ว

      you were able to recover the error?

  • @doni_gd69
    @doni_gd69 6 ปีที่แล้ว

    help me sir.
    when I input the item name and item code, it appears an alert if the data I input is less complete. but after I click ok. the name and code data that I input was missing. please tell me how the way when I click ok on alerts, the data that I input is still on screen. thanks.

  • @symnoh3158
    @symnoh3158 7 ปีที่แล้ว

    How can i add a select option in this code? Please help me. Thank You

  • @Ing.RaulPadilla
    @Ing.RaulPadilla 7 ปีที่แล้ว

    pleasee
    How can I add a calendar field?
    no textbox field
    thank you

  • @neelammajgaonkar8869
    @neelammajgaonkar8869 6 ปีที่แล้ว

    Please someone tell me how to write code if we want to do addition of column “price” and dynamically will be shown in text box. Please tell me. I have to apply same concept in my project . Plz plz

  • @shraddhatapase9349
    @shraddhatapase9349 5 ปีที่แล้ว

    Good work

  • @farhadpshtywan3161
    @farhadpshtywan3161 4 ปีที่แล้ว

    Help me..
    build and implement online students attendance management system.
    Please

  • @djihadamiraoui6959
    @djihadamiraoui6959 3 ปีที่แล้ว

    How to edit and inset in edit page

  • @linsonlorance2962
    @linsonlorance2962 7 ปีที่แล้ว

    Nice video.. but can u make the same for duplicate entries validation of multiple insert form

    • @webslesson
      @webslesson  7 ปีที่แล้ว

      Thanks Linson Loranace, We appreciate your valuable feedback.

  • @pohonbunga6271
    @pohonbunga6271 7 ปีที่แล้ว

    nice very details. thanks

    • @webslesson
      @webslesson  7 ปีที่แล้ว

      Thank you Friska Novita Sari, You're most welcome.

  • @lewiscardona4311
    @lewiscardona4311 5 ปีที่แล้ว

    In the second file not add select :/

  • @مقدادالرستم-س2ت
    @مقدادالرستم-س2ت 7 ปีที่แล้ว

    Thank very much :)

    • @webslesson
      @webslesson  7 ปีที่แล้ว

      Hi You're most welcome.

  • @pakxdabu7447
    @pakxdabu7447 4 ปีที่แล้ว

    thanks for sharing : )

  • @jeppadua8410
    @jeppadua8410 7 ปีที่แล้ว

    Hi may i ask if this is possible with a radiobutton in it or a checkbox in it?

    • @webslesson
      @webslesson  7 ปีที่แล้ว

      Hi Jep Padua, it only support textbox and select box only, you cannot use radio button or checkbox in it.

  • @zeever6066
    @zeever6066 6 ปีที่แล้ว

    Thanks! :)

  • @kamaljeetsingh0001
    @kamaljeetsingh0001 6 ปีที่แล้ว

    there is a error please anyone can help me please
    Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\kamal\pannel\bill.php on line 12

  • @jefferlloydbadajos2589
    @jefferlloydbadajos2589 6 ปีที่แล้ว

    how can I insert option value please give me a source code

  • @airmusic4707
    @airmusic4707 6 ปีที่แล้ว

    how add datatables into that data?

  • @michaelrelacio3207
    @michaelrelacio3207 5 ปีที่แล้ว

    Sir ask po how to make it no duplication of data?

  • @phoenixcode8034
    @phoenixcode8034 7 ปีที่แล้ว

    Hello sir please make some video for printing receipt sir please

  • @xaviervaz5199
    @xaviervaz5199 6 ปีที่แล้ว

    how to total the price of the product

  • @ninjabuzz
    @ninjabuzz 6 ปีที่แล้ว

    how to update the table ??

  • @zuhuramasudi8142
    @zuhuramasudi8142 5 ปีที่แล้ว

    Thanks

  • @kazimrahman7499
    @kazimrahman7499 4 ปีที่แล้ว

    WoW.....!!!

  • @sergiodelgadoquintero1262
    @sergiodelgadoquintero1262 7 ปีที่แล้ว

    Buenos días, quisiera hacer una aplicación donde se puede tener un control de personal y aportes en dinero. Me puedes colaborar por favor?

  • @VikramSingh-np4hm
    @VikramSingh-np4hm 4 ปีที่แล้ว

    image insert kase ho ga sir

  • @nuraisahida8926
    @nuraisahida8926 5 ปีที่แล้ว

    i got problem cannot save..how to fix it? anyone can help me please..

  • @negaligngezahegn5440
    @negaligngezahegn5440 5 ปีที่แล้ว

    how can i convert to codeigniter pls help me

    • @agilebilla
      @agilebilla 5 ปีที่แล้ว

      in ajax URL: 'controler_name/function_name';

  • @BOWEN1973
    @BOWEN1973 3 ปีที่แล้ว

    would love to learn this but can't get my head around the monotone electronic voice! at times it makes no sense and sounds like its stuck in a mind-numbing loop! its a shame as it looks interesting. please ditch the steven hawking effect voiceover and actually explain whats going on

  • @younasaslam4439
    @younasaslam4439 7 ปีที่แล้ว

    Sir please make a complete E-commerance Project

    • @webslesson
      @webslesson  7 ปีที่แล้ว

      Thank you Younas Aslam for your suggestion. We have forwarded it.

    • @wgconsultants3030
      @wgconsultants3030 7 ปีที่แล้ว

      He did. It's not "Completely" handed out to you. but the essentials is there

  • @ahmadwandi1058
    @ahmadwandi1058 7 ปีที่แล้ว

    I like's php less...

  • @rizkiheryandi5759
    @rizkiheryandi5759 5 ปีที่แล้ว

    you forgot "how to delete the item" haha

    • @RadRafsGeeks
      @RadRafsGeeks 5 ปีที่แล้ว

      do you have a code for it?