How to upload Image, file using jQuery AJAX PHP And MySQL

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.พ. 2025
  • In PHP you can easily upload any type file on the server using the move_uploaded_file() method.
    But it requires form submit for uploading the selected file.
    If you want to store image file and display preview without reloading the whole page then you need to use jQuery AJAX.
    Send the selected file using the FormData object in AJAX request.
    #jquery_ajax #how_to_upload_image_using_jquery_ajax_php_and_mysql

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

  • @parmarfamily6311
    @parmarfamily6311 9 หลายเดือนก่อน

    Thank u 😊

  •  2 ปีที่แล้ว +1

    Nice bro

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

    Superb bro 👍

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

      Thanks for liking

  • @hmmmza
    @hmmmza 2 ปีที่แล้ว +2

    your subsrcibing alert is so epic! please use another one!

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

    your subscribe alert is borderline a jumpscare

  • @amishdicksondsouza4633
    @amishdicksondsouza4633 3 ปีที่แล้ว +1

    Source code please ?