Last updated on October 4th, 2022 at 02:20 pmRead xml and parse it using php and we are using simple php functions named simplexml_load_file, simplexml_load_string & SimpleXMLElement This is handy when you are working with the advanced XML features of DOM. When you are ready to move from those precocious features, just load the DOM […]
Category: PHP (Page 3 of 15)
Learn PHP programming through practical examples and tutorials. This category covers core PHP concepts, form handling, file opera
How to Drag And Drop Multiple Files Upload Using PHP jQuery
Last updated on January 12th, 2023 at 10:14 amVery simple and easy to implement file uploading script using HTML5. I am not using any API here and all I use is the jQuery library. Script Features & Techniques Create HTML Form First we need to create an html page with div tag and other details. […]
PHP MySQL get last row of a table in database
Last updated on February 25th, 2022 at 08:15 amIf you have auto_increment field set for MySQL table then it is very easy to get details of last row in that table. I have also provided complete php code on how to get details of last n rows in a MySQL table. We have provided code […]
How to list files and directories using PHP
Last updated on January 12th, 2023 at 12:57 pmPHP has built in functions that can be used for working with files and folders inside a directory. This script covers these major use cases Let us assume in by document root I have As you can see my script named list.php(explained below) is deployed inside /var/www […]