Digital Fox
Digital Fox
  • 68
  • 723 241

วีดีโอ

Display MySQL database data in dynamic combo drop down select menu using PHP, MySQL, and JavaScript
มุมมอง 22321 วันที่ผ่านมา
We are gonna populate a select menu based on the choice of another. The data are stored in a MySQL database and we are gonna use PHP, and JavaScript to populate the select drop down menus. Download the database SQL file to follow along. digitalfox-tutorials.com/youtube-files/tutorials_world_SQL.zip
How to dynamic populate a select menu based on the choice of another | AJAX and JSON tutorial
มุมมอง 14321 วันที่ผ่านมา
In this video we are gonna see how to dynamically populate the options of a select drop down menu depending on the choice we make on another. Let me explain. We have two select menus, the first menu is populated with countries, and the second menu is empty (at start). So when we choose a country in the first menu, our code (which we will write) will run and fetches the associated cities and fil...
How to log database error messages in a log.txt file using PHP and MySQL | PHP Tutorial
มุมมอง 107หลายเดือนก่อน
In this video you are going to learn how to handle database connection and query error messages by log them in a log.txt file. Prevent the server not to display database error messages in the browser, but instead fetch them and store them in a log.txt file. Using the mysqli_report function to prevent the server to display the error message in the browser. Talking about the PHP.ini file and erro...
How to create Dynamic MySQL Table from HTML Form Using PHP | PHP, HTML, MySQL Tutorial
มุมมอง 257หลายเดือนก่อน
I am gonna show you how easy it is to create a MySQL table using an HTML form. In this video we are going to dynamically create MySQL database tables using PHP. We are gonna see how to dynamically construct an SQL query based on inputs from an HTML form.
How to convert text file to JSON with PHP | PHP and JSON Tutorial
มุมมอง 109หลายเดือนก่อน
In this video we are going to take the data from a text file and convert them to a JSON file. In the text file we have users stored as plain text. We are going to fetch the text data with PHP and convert them to objects and store them in a JSON file. In this tutorial we are going to work with the following functions. file_get_contents, trim, preg_split, foreach, explode, json_encode, file_put_c...
How to display JSON data inside html table with PHP | PHP and JSON Tutorial
มุมมอง 272หลายเดือนก่อน
In this video we are going to fetch and display the data from a JSON file in an HTML table using PHP. We are going to use in our code the following functions: file_exists, file_get_contents, json_decode, and foreach.
How to display MySQL database data in Chart.js using PHP and JavaScript
มุมมอง 6472 หลายเดือนก่อน
In this video we are going to fetch the data from a MySQL table and display them in a Chart using PHP, JavaScript, and the Chart.js library. Here is the link to the Chart.js library. www.chartjs.org/
How to save form data in a JSON file using PHP | Store contact form in JSON file with PHP
มุมมอง 7917 หลายเดือนก่อน
In this tutorial we are going to use PHP to collect the data from a contact form and save the messages in a JSON file. Also we will have an inbox page to display, reply or delete a message. If you follow along you can download the styles.css file from here: digitalfox-tutorials.com/youtube-files/storing-form-data-in-json-file-styels.css.zip You can buy me a coffee and get the whole source code ...
How to upload, display, and delete Images in a Database Using PHP and MySQL
มุมมอง 93710 หลายเดือนก่อน
We're going to create a small application that allows us to upload image files to the server, store their names in a database, display the uploaded images in the browser, and provide us with the option to delete them. Also we will display errors to the user when something goes wrong. This is basic PHP and MySQL stuff that we need to know. If you feel like saying thanks, you can buy me a coffee ...
How to Drag and Drop images using JavaScript | JavaScript Tutorial
มุมมอง 1.1K11 หลายเดือนก่อน
In this tutorial, I am going to show you how to drag and drop image files from your computer into the browser and get an instant preview using only vanilla JavaScript. You are going to learn how to use the dragenter, the dragover , the dragleave, and the drop event listeners to drag the files into a designated drop-area and handle them. Also you will learn how to use the dataTransfer object to ...
How to properly validate an uploaded image file using PHP | PHP file Validation tutorial
มุมมอง 1.5K11 หลายเดือนก่อน
In this video i m going to show you how to be sure, that the uploaded file is an image. We are going to properly validate an uploaded image using php. The code that we are going to write can easily used in a live project. We are going to check if the file is a real image, and not something else like a pdf, or text file, or some malicious script file that someone has changed the file-extension t...
Display JSON data in Chart.js with JavaScript | Change dynamically the chart types in Chart.js
มุมมอง 14Kปีที่แล้ว
In today's tutorial we are going to see how to create charts from JSON files, using the Chart.js library and javascript. Also we are gonna see how to change the type of a chart with a simple click of a button. Chart.js getting started link: www.chartjs.org/docs/latest/getting-started/ You can read the article and download the source code from my website: digitalfox-tutorials.com/tutorial.php?ti...
Send Email from localhost with PHP using PHPMailer and Gmail SMTP server | Working contact Form
มุมมอง 34Kปีที่แล้ว
In this video we are going to create a working contact form, and we will using PHPMailer and Gmail's mail server to send emails from our localhost server. Download PHPMailer from Github: github.com/PHPMailer/PHPMailer Create an Google App Password: support.google.com/accounts/answer/185833?hl=en You can buy me a coffee and get the whole source code in a zip file. www.patreon.com/Digitalfox13/sh...
Creating dynamic web pages using PHP and MySQL | Part 2 | Coding the back-end
มุมมอง 9Kปีที่แล้ว
In today's Tutorial we will see how to create dynamic content using php and mysql. This is the second part of a two-part tutorial. In the first part we created the front-end of a simple shop, and in this part we will create the dynamic content using php and mysql. We are going to create a simple shop , and we are going to create it from scratch. Download the products folder and the database tab...
Creating dynamic web pages using PHP and MySQL | Part 1 | Coding the front-end
มุมมอง 24Kปีที่แล้ว
Creating dynamic web pages using PHP and MySQL | Part 1 | Coding the front-end
How to upload multiple images with PHP | PHP tutorial
มุมมอง 12Kปีที่แล้ว
How to upload multiple images with PHP | PHP tutorial
Using JavaScript to upload a file without using a form | JavaScript and Ajax Tutorial
มุมมอง 1.7Kปีที่แล้ว
Using JavaScript to upload a file without using a form | JavaScript and Ajax Tutorial
Creating a simple pagination using php and mysql
มุมมอง 29Kปีที่แล้ว
Creating a simple pagination using php and mysql
How to loop through arrays and display html code inside paragraphs and tables with php.
มุมมอง 3.9Kปีที่แล้ว
How to loop through arrays and display html code inside paragraphs and tables with php.
How to send a javascript object to a php file using the fetch method |
มุมมอง 32Kปีที่แล้ว
How to send a javascript object to a php file using the fetch method |
Creating the front-end of a five star rating system with javascript, html, and css.
มุมมอง 7K2 ปีที่แล้ว
Creating the front-end of a five star rating system with javascript, html, and css.
How to create a page scroll progress bar indicator with javascript
มุมมอง 2.4K2 ปีที่แล้ว
How to create a page scroll progress bar indicator with javascript
How to create, generate, strong random passwords with PHP | PHP Tutorial
มุมมอง 1.6K2 ปีที่แล้ว
How to create, generate, strong random passwords with PHP | PHP Tutorial
How to create a password strength checker with JavaScript | Strong password checker
มุมมอง 2K2 ปีที่แล้ว
How to create a password strength checker with JavaScript | Strong password checker
Secure login, register system with PHP and MySQL | Part 3 - Reset Forgot Password
มุมมอง 3K2 ปีที่แล้ว
Secure login, register system with PHP and MySQL | Part 3 - Reset Forgot Password
Secure login, register system with PHP and MySQL | Part 2 - Login Form
มุมมอง 5K2 ปีที่แล้ว
Secure login, register system with PHP and MySQL | Part 2 - Login Form
Secure login, register system with PHP and MySQL | Part 1 - Register Form
มุมมอง 16K2 ปีที่แล้ว
Secure login, register system with PHP and MySQL | Part 1 - Register Form
How to create, write, read, and delete files in php | PHP filesystem tutorial.
มุมมอง 5K2 ปีที่แล้ว
How to create, write, read, and delete files in php | PHP filesystem tutorial.
How to toggle a click event in javascript | Toggle a mouse click
มุมมอง 7K2 ปีที่แล้ว
How to toggle a click event in javascript | Toggle a mouse click

ความคิดเห็น

  • @marcoangeli5476
    @marcoangeli5476 4 วันที่ผ่านมา

    Same process getting JSON fron an URL?

  • @zeynepuzunbas
    @zeynepuzunbas 6 วันที่ผ่านมา

    How to add dynamic populate 3 select menus and 1 input

  • @tutanchacon
    @tutanchacon 7 วันที่ผ่านมา

    Excelent! Tank you for sharing

  • @phoneandroid6845
    @phoneandroid6845 7 วันที่ผ่านมา

    How to do multiple chart on the same page using this method?

  • @LopobicWyn
    @LopobicWyn 7 วันที่ผ่านมา

    Super sir!🙏

  • @phoneandroid6845
    @phoneandroid6845 8 วันที่ผ่านมา

    Thanks, the video is awesome👍

  • @vladbp_yyz
    @vladbp_yyz 9 วันที่ผ่านมา

    didn't work. I create several PDF files by clicking a button and then try to zip them all and the zip file is not created. Inside the Downloads folder I create another folder por each costumer ID. Downloads/1/, Downloads/2/,Downloads/35/... etc. The PDFs are created inside the costumer ID folder. The content of those folders is what I'm trying to compress unsuccessfully.

  • @DigitalFox-tutorials
    @DigitalFox-tutorials 16 วันที่ผ่านมา

    Hi everyone tell me what you think. Is everything understandable?

  • @NedumEze
    @NedumEze 16 วันที่ผ่านมา

    Digifox my favorite Teacher. Thank you sir.

  • @soundjuggler129
    @soundjuggler129 20 วันที่ผ่านมา

    great video showing how to start with chart js thank you

  • @alalyrealestate1136
    @alalyrealestate1136 21 วันที่ผ่านมา

    very good

  • @AbdulRohmanilmukuduniaku
    @AbdulRohmanilmukuduniaku 22 วันที่ผ่านมา

    2024 , thanks bro

  • @priyadarshnipatil4609
    @priyadarshnipatil4609 23 วันที่ผ่านมา

    Can you make a video about the database you have created.

  • @tiagoborges5108
    @tiagoborges5108 23 วันที่ผ่านมา

    I just have a word to describe this video," FANTASTIC" .

  • @solomonndegwa9951
    @solomonndegwa9951 23 วันที่ผ่านมา

    Awesome

  • @Pixelyze-tech
    @Pixelyze-tech 23 วันที่ผ่านมา

    The last example, would that not be GET method instead of POST method, bit confused. As POST method is to send and GET is to receive

  • @DigitalFox-tutorials
    @DigitalFox-tutorials 24 วันที่ผ่านมา

    Hi guys. Is everything understandable?

  • @tiagoborges5108
    @tiagoborges5108 26 วันที่ผ่านมา

    Very interesting video and thank you fot the video, but i have a question, how can we do it but with data that comes from a database.

    • @DigitalFox-tutorials
      @DigitalFox-tutorials 26 วันที่ผ่านมา

      Hey, good idea this will be my next video.

  • @theodoremasi5313
    @theodoremasi5313 27 วันที่ผ่านมา

    Thanks so much! My issue was the length of the passwords in my DB

  • @swapnilsalunkhe5485
    @swapnilsalunkhe5485 27 วันที่ผ่านมา

    Hi, I have dynamic data which changes according to user query how can i visualize that data into different charts.

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

    Awesome, you made PHP and MySQL look so simple.

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

    YoYuAwesybb

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

    how to send email in localhost

    • @DigitalFox-tutorials
      @DigitalFox-tutorials หลายเดือนก่อน

      Hey, check this video : th-cam.com/video/fSfNTACbplA/w-d-xo.html

  • @DigitalFox-tutorials
    @DigitalFox-tutorials หลายเดือนก่อน

    Hi guys. Tell me what you think. Is everything understandable?

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

    You're back again 👌👍

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

    Thank you so much i really need this tuto❤

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

    Thank you. it is very clear, however if the field is numeric, there is a problem.

    • @DigitalFox-tutorials
      @DigitalFox-tutorials หลายเดือนก่อน

      Yes I know, I just wanted to show you how to structure an SQL query dynamically. If we want to add also the type of the columns we have to construct the form in a different way. Glad you liked it.

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

    I like your tutorials, would love to see them with pdo in future 😊

  • @DigitalFox-tutorials
    @DigitalFox-tutorials หลายเดือนก่อน

    Hi guys and girls tell me what you think, is everything understandable. If you have any questions feel free to ask. I always try to answer them. Also if you have any tutorial ideas about a topic that you struggle with, let me know in the comments. Thanks for watching.

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

    But, sir, the file_get_contents () is often disabled in most Production Servers. Does it work for you in your Production Server? Is there any other way of doing this which should have universal acceptance?

    • @DigitalFox-tutorials
      @DigitalFox-tutorials หลายเดือนก่อน

      You're correct; file_get_contents() is often disabled on many production servers due to security concerns when fetching remote files. But there is no problem to fetch local files. Ensure the directive 'allow_url_fopen' in the php.ini file, is set to 'On'. allow_url_fopen = On If you want to fetch remote files you can use 'cURL' instead.

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

      @DigitalFox-tutorials Thank you sir for everything.

  • @DigitalFox-tutorials
    @DigitalFox-tutorials หลายเดือนก่อน

    Hi everyone. I hope you like the video. If you have any question feel free to ask, or you can just say hi. 😉 Thanks for watching guys.

  • @solomonndegwa9951
    @solomonndegwa9951 2 หลายเดือนก่อน

    Awesome

  • @ΕγωΕγω-ρ6ω
    @ΕγωΕγω-ρ6ω 2 หลายเดือนก่อน

    Welcome back 😊

    • @DigitalFox-tutorials
      @DigitalFox-tutorials 2 หลายเดือนก่อน

      Thank you. Didn't had free time in the summer.

  • @Rock_Film
    @Rock_Film 2 หลายเดือนก่อน

    Thanks Bro!

  • @DigitalFox-tutorials
    @DigitalFox-tutorials 2 หลายเดือนก่อน

    Hi everyone. Tell me what you think about the video. Is everything understandable?

    • @Rock_Film
      @Rock_Film 2 หลายเดือนก่อน

      Clear, concise, and straightforward!

  • @mark-dev-1
    @mark-dev-1 2 หลายเดือนก่อน

    Could you please do a tutorial with PDO and cover all these methods in an OOP way?

  • @tkar66
    @tkar66 2 หลายเดือนก่อน

    Awesome. very clear and helpful. Many thanks,

  • @DigitalFox-tutorials
    @DigitalFox-tutorials 2 หลายเดือนก่อน

    Hi everyone. Tell me what you think about the video. Is everything understandable?

  • @nicodemoscarfo
    @nicodemoscarfo 2 หลายเดือนก่อน

    Nice tutorial, what would be the code for adding elipsis with a rang of 5 buttons like < 1... 5 6 7 8 9 10 ...99 >

  • @expTRM
    @expTRM 2 หลายเดือนก่อน

    nice!

  • @stormybear4986
    @stormybear4986 2 หลายเดือนก่อน

    Mime in this context should be properly said as "My-mee" not "Myme"

  • @bibliothecaEsoterica
    @bibliothecaEsoterica 2 หลายเดือนก่อน

    Thank you Sir, you helped me with my website

  • @Electronieks
    @Electronieks 2 หลายเดือนก่อน

    I use your code , but when i use iphone and select a photo i took with my phone myself, to upload. , then its not working But when upload an image that i recieved from somebody in whatsapp and i store the image to my fotoalbum, then i can upload these images to the phpserver Any walkaround for this?

  • @gopichandlakshmisson4682
    @gopichandlakshmisson4682 2 หลายเดือนก่อน

    i have tried the same process yesterday i got success msg but today i am getting SMTP server error i dont know why

  • @amnifarihah-d2z
    @amnifarihah-d2z 2 หลายเดือนก่อน

    hi just want to let you know I still can't get it right even after I followed all the steps :( google setting doe not have the less secure settings alr

  • @SlametRiyadi-rj1um
    @SlametRiyadi-rj1um 2 หลายเดือนก่อน

    You running your html on the webserver right?

  • @ceketuveux
    @ceketuveux 3 หลายเดือนก่อน

    Thank you so much for this video. I have a question i could not solved since 3 days. How would i do to target only ONE image and style it in CSS ? For example if i want to change the width of the 2 second image ("id":2). How would i proceed ? Been searching answers for days..

    • @DigitalFox-tutorials
      @DigitalFox-tutorials 3 หลายเดือนก่อน

      I am glad you liked the video, thank you. Now based on my code you can target the second image from the CSS file like this: table tr:nth-child(2) img{ width: 100%; } The above css code means that we are targeting every image in the second table row and set the width to 100% Hope it helps.

    • @ceketuveux
      @ceketuveux 3 หลายเดือนก่อน

      @@DigitalFox-tutorials Oh my god it is working! Amazing thank you so much. Do you know if it is possible to target any img in the DOM ? I tried desperately to target an img by changing the attribute/ID of any of those, but did not find how. I tried to use the "id" and "name" from the Json object properties to target one of those img but it did not work. Do you know if it is possible ?

    • @DigitalFox-tutorials
      @DigitalFox-tutorials 3 หลายเดือนก่อน

      You can change the number of the tr:nth-child to target the image you want: table tr:nth-child(3) img{ width: 100%; } // Targeting the third image. This is one way or you can ad - in the javascript file - ad an id attribute to the image tag combining text and the id property from the JSON file. <td><img id='image-id-${product.id}' src='${product.image}'> </td> and target the image you want using css like this: #image-id-1{ border: thin solid red; } #image-id-2{ border: thin solid blue; } #image-id-3 ... and so on... you get the point.

    • @ceketuveux
      @ceketuveux 2 หลายเดือนก่อน

      @@DigitalFox-tutorials Thank you so much, coffees on me. I wonder what is the point by doing all that on Javascript when you can do it with HTML/CSS ?

  • @SaloGemb-r1d
    @SaloGemb-r1d 3 หลายเดือนก่อน

    Miller Lisa Allen Helen Moore Sarah

  • @huaweitrainingsafrica3742
    @huaweitrainingsafrica3742 3 หลายเดือนก่อน

    Just what I needed for my project. Thank you very much

  • @runevayneTV
    @runevayneTV 3 หลายเดือนก่อน

    At 5:02 how do you get the site to pull up? I'm a little lost because I see the localhost/youtube-tutorials/our-store/ but I can't figure out where the youtube-tutorials comes from