Entries by

Why Are E-Books More Expensive Than Printed Books?

Today, I saw this site on Hackernews and I shared the link with my friends. Then, I wanted to know if there was an e-book version and yes, there is. But something caught my attention. When I checked the printed version of this book, It’s price is same with e-book version!! This is a complete […]

How To Import SQL File With PHP

Sometimes there are times when you can not use PhpMyAdmin or any database program, and you have to use other options to import the Sql file into your database. Here, I’ll tell you how you can import with both the old mysql_query and the new mysqli_query in Php. You can also access the codes from […]

Finding all the Weekdays in the month with Php

Hello friends. Today, I had to find every weekdays in the month, including the week we were there. Using the codes you write as you wish, you can get the days you want. It’s simple. You can only know the DateTime class. I only collect weekdays on a array. I do not include weekends. After […]

PHP And JSON

To explain the relationship between PHP and Json and how to use Json in PHP, let’s start with “What’s Json” on top of it. In programming, there is a need for data exchange between different platforms. For example, you might want to pull out the latest posts from any social platform and use them in […]

Creating a CSV File Using PHP

In PHP, there are functions defined to create a CSV file. There are several advantages to using these functions instead of libraries like PhpExcel. It consumes less resources and is faster. First, let’s create a function that will create our CSV file. <?php function array_to_csv_function($array, $filename = “export.csv”, $delimiter=”;”) { // Instead of opening a […]

How To Make Responsive Table?

Everyone uses tables in their sites, but the tables look very bad on mobile devices. Even if you set the width of the table to 100%, it will be reduced to a certain extent and the texts will be very small. It is not useful at all. In this article I will show you the […]