PHP

PHP File Handling: Delete File

Submitted by joken on
In our previous tutorial, we have seen how to write the file and read the file, and we also know how to open a file in an assortment of different ways. At this time we’re going to focus on how to destroy(delete) files. Deleting is too simple but we need to keep two things in mind. 1. Close the file – because we can’t delete the open files 2.

PHP/MySQLi Creating a Forum - Part 4 - Adding & Listing Replies

Submitted by Yorkiebar on
PHP/MySQLi Creating a Forum - Part 3 - Thread Page Introduction: This tutorial will be continuing my series of creating a forum in PHP/MySQLi/HTML. This is the fourth and (for now) the final part which is adding reply functionality. Pre-creation: First you will need a host for your PHP, either a web host or localhost is fine but you will need PHP and MySQL(i) capabilities. Also, this will not be covering creating users, or styling the pages.

PHP/MySQLi Creating a Forum - Part 3 - Thread Page

Submitted by Yorkiebar on
Introduction: This tutorial will be continuing my series of creating a forum in PHP/MySQLi/HTML. In this third part, we will be making a thread page in order to display the full thread and offer the chance for replies. Pre-creation: First you will need a host for your PHP, either a web host or localhost is fine but you will need PHP and MySQL(i) capabilities. Also, this will not be covering creating users, or styling the pages.

FreePHP: Simple MySQL Table Record (Part 1 - Sorting Algorithm) , (Par 2 - Shuffle Algorithm)

Submitted by DavaoCloudStudio on
Sample how to ascending and descending each row of record table from MySQL database. Add record Delete record Update/Edit record Sorting record ---------------------- How to begin? 1. Open your Apache friend like. Wamp, Xampp, Lamp etc., i used 'Wamp' 2. Goto phpMyAdmin > Import 'ac_xamp_le.sql' 3. Open browser > Goto localhost or 127.0.01 'usually is localhost' Direct access! ____________________

Login and Chat Application (AJAX,PHP-PDO and MySQL)

Submitted by jmmaguigad on
*Credit to sir Argie Policarpio for initiating this kind of program. Have you ever wished to make your own chat box? So bad if not! Nevertheless, chat boxes are just an amazing work of programming and art which have tremendous usage; either it’s good or bad. Before going through, I’ll first give my own definition of the word chat box, chat box is a place where user can input or type user’s message

Voting System

Submitted by Juju Lara on
Simple voting system that counts the number of votes of students running in different positions. It also generate codes in administrator page that use to vote and access the candidates form. go to administrator-index.php password:aclcelection generate code and use that generated code in index.php to access that page. e-mail: [email protected]

PHP/MySQLi Creating a Forum - Part 1 - Database and Creating Threads

Submitted by Yorkiebar on
Introduction: This tutorial will be starting my series of creating a forum in PHP/MySQLi/HTML. As this is the first part, we will be; Creating the database. Making a create thread page. Pre-creation: First you will need a host for your PHP, either a web host or localhost is fine but you will need PHP and MySQL(i) capabilities. Also, this will not be covering creating users, or styling the pages.