Skip to content
Techkeyla

Techkeyla

An alcohol helps you solve common tech problem

  • Home
  • Languages
    • C++
    • Javascript
    • HTML
    • CSS
  • Framework
    • ReactJS
    • React Native
    • Spring
    • Spring Boot
  • What is

How to prevent SQL injection in PHP

PHP is a popular programming language used to develop web-based applications. On many occasions, PHP Scripting Language is used to connect to a database to fetch, update or delete data. […]

PHP , SQLPosted on: April 5, 2023April 5, 2023

How to run server command in php

To run a server command in PHP, you can use the exec() function. The exec() function executes an external program and returns the output as a string. Here’s an example […]

PHPPosted on: March 1, 2023March 1, 2023

PHP how to json_encode object with private attribute

When using PHP’s json_encode function to encode an object that has private properties, you may encounter an error because json_encode cannot directly access private properties. To work around this issue, […]

PHPPosted on: February 27, 2023February 27, 2023

How to find and format all prices in a string with PHP

To find and format all prices in a string with PHP, you can use regular expressions to match patterns that look like prices and then format them using the number_format […]

PHPPosted on: February 26, 2023February 26, 2023

Recent Posts

  • How to prevent SQL injection in PHP
  • What is and how to fix NullPointerException
  • How to get the user_id of the current user in a telegram bot in Java?
  • What is props in react
  • How to select nth item inside the object in javascript

Archives

  • April 2023
  • March 2023
  • February 2023
  • October 2022

Categories

  • Algorithm (1)
  • Infrastructure (1)
  • Languages (1)
  • Networking (1)
  • What is (4)
Techkeyla@2023