
PHP Data Object - PDO
I had explained how to connect to a database and execute queries in PHP.Classic database connection is done with the mysql_connect() command, and query execution is done with mysql_query(), but the PDO structure is a bit...
Found 10 results for this tag.

I had explained how to connect to a database and execute queries in PHP.Classic database connection is done with the mysql_connect() command, and query execution is done with mysql_query(), but the PDO structure is a bit...

In my previous writings, I talked about integrating Laravel with both Meilisearch and MongoDB separately. In this piece, I'll discuss how to use all three together. As I mentioned in my previous posts, we're integrating...

Variable Declaration In PHP, variables are defined with the $ sign.$variable = variable value; There are some rules for defining variables. Variables cannot start with a number. Turkish characters cannot be used....

Sometimes we need a simple search engine within our websites to find topics. Let me explain this with a simple example: HTML codes for the form that will perform the search: <form action="result.php" method="get">...

In my previous article, I provided information about WebAuthn. In this article, I will explain how to implement it with Laravel. First, we include the laragear/webauthn package in our project. composer require laragear...

Hello, due to my busy schedule, I haven't been able to write blog posts for a long time. In this article, I will explain how to use MongoDB in your Laravel project. Laravel is installed by default with MySQL support. Add...

In this article, I will talk about MeiliSearch and Laravel Integration. MeiliSearch is a search engine that operates on the same logic as Elasticsearch. However, Elasticsearch consumes a lot of resources. MeiliSearch, o...

At the 2025 PHP conference, I was introduced to Frankenphp and the Caddy web server. Frankenphp is a PHP service built on the standard PHP we use, with some additional features layered on top. When combined with Caddy we...

We have two different tables, one for topics opened and the other for users.In the system, the id information of the user who opens the topic is also kept in the table where the topics are found.In the Topics TableThere...

This competition is called CTF (Capture The Flag) abroad, it's not organized much in our country, so I thank the Prodaft team for organizing such a competition. I solved some of the questions, couldn't solve some, I'll t...