PHP

The PHP Data Objects (PDO) extension defines a lightweight interface to access database servers in PHP. You can use the same functions to execute SQL queries for different databases. Mostly, connect, fetch, insert, update, and delete operations are execute...

By: CodexWorld Nov 7, 2021

The preview image feature lets the user view the selected image before upload. With this feature, the image is displayed on the webpage immediately a file is selected by an input field. The preview file helps the user to make sure before uploading the file...

By: CodexWorld Aug 13, 2024
PHP

In the present day, YouTube embed video is used on many websites. Many web project needs to implement a YouTube video gallery where YouTube video thumbnails are dynamically listed in the gallery. In this article, we'll provide the short PHP snippet to get ...

By: CodexWorld Jun 20, 2016
PHP

Normally, a hyperlink can be used to open a file on the browser. In such a case, the file can download from the browser manually. If you want to download the file dynamically and save it on the local drive automatically, force the browser to download the f...

By: CodexWorld Jun 27, 2022
PHP

CRUD operation helps to Create, Read, Update and Delete database records. Add, Edit, Update and Delete functionality is commonly used in the data management section of every web application. You can easily implement the CRUD operations with MySQL in PHP. G...

By: CodexWorld Dec 27, 2018
PHP

Sometimes you need to free the space of the web server by deleting old or specific or all files from a directory. Using the glob() and unlink() functions you can easily delete all files from a folder without aware the files name. Here we'll provide the sim...

By: CodexWorld Nov 6, 2023
PHP

The infinite page scroll is one type of pagination where the user doesn't need to click on the link to load dynamic data. The dynamic data is loaded from the server automatically while scrolling page down. Infinite Scrolling effect is the best replacement ...

By: CodexWorld Feb 22, 2018

The WYSIWYG editor is driven by JavaScript which lets users enter the formatted text. It is converting the formatted text to HTML when the web form is submitted to the server. When you need to accept formatted text content or HTML content from the users on...

By: CodexWorld Oct 18, 2022
PHP

PDF is used to download a bunch of data or text content in the web application. The PDF file format is the perfect choice to download text or HTML content in a file. At the time of downloading web page content as a PDF file, it requires converting HTML to ...

By: CodexWorld Nov 15, 2022
keyboard_double_arrow_up