Catégorie : Kode
MySQL Cardinality: Boosting Query Performance with Smart Indexing
When it comes to database optimization, one term that often comes into play is « cardinality. » If you’re swimming in the vast sea of MySQL databases and aiming to enhance your query performance, you’re in the right place. In this article, we’re going to dive into the world of MySQL cardinality, decipher its significance, and unveil…
PHP in_array Loose vs Strict Comparison
I was scratching my head over unexpected results when using the in_array() function. Maybe you are doing the same right now. I recently have an array with stuff in it, like: It’s all ID from the the database results. As you can see, they’re all strings right? See the double quotes. Then I went to…
Alpine.js Password Form Validation
Forms stand as the gateway to user engagement. Whether it’s signing up, leaving feedback, or updating passwords, forms play a crucial role in user interaction. In this article, we’re diving deep into the art of enhancing form validation using Alpine.js – a dynamic tool that brings life to your web forms while making users’ lives…
MySQL Search: Finding Rows with Letters
I have a problem. My database column should only contain numbers and dots. However there are rows where I found words (which are made up from letters). Such an error I failed to catch upon development. However, MySQL has a powerful move to perform some nifty searches, such as finding rows containing letters? In this…
What Is The Internet?
What is this amazing thing that ties us all? It’s like a huge world network where we can chat, share stuff, and do all kinds of cool things. What do you know? It doesn’t have a single boss; it’s more like a group of computers with their own minds! Protocols and standards are these sophisticated…
Daniy Image Manager Plugin Saves Your WordPress Queries for Attachments
Blogging with lots of images on each post is surely a repetitive task where in some time will burn you out. The task for opening and inserting images to the post is a boring task. For you who have a few WordPress coding skills, you can write a piece of code to call for the…
WordPress Tips: Menambahkan User Baru Lewat phpMyAdmin
Punya blog WordPress banyak (banget)? Saking banyaknya, sampai-sampai kamu lupa username dan password salah satu website? Asalkan kamu punya akses ke database via phpMyAdmin, kamu bisa reset password dengan beberapa langkah mudah. Pertama, jelas sekali kamu harus login ke phpMyAdmin. Lalu pilih salah satu database WordPress yang ingin kamu ganti password-nya. Pilih tabel wp_users, lalu…