Skip to content

Jean-Pierre Lambelet

Il n'y a pas de questions bêtes

  • Programming tips
  • About JP
  • English
    • Français

PHP

PHP 

PHP Spaceship Operator <=>

March 16, 2021March 16, 2021 JP 0 Comments

A little known but very useful operator, for example ordered an array list, is the spaceship operator or combined: <=>

Share this:

  • Twitter
  • Facebook
Read more
PHP Symfony 

PHP style code: How to keep its code clean with PHP Coding Standards Fix

March 11, 2021March 11, 2021 JP 0 Comments

A really useful tool to keep its code clean and use the tool PHP Coding Standards Fix It allows us

Share this:

  • Twitter
  • Facebook
Read more
Docker PHP 

Start a new Symfony5 project with docker-compose, Nginx , Php 7.4 and MariaDB

November 30, 2020November 30, 2020 JP 0 Comments

This article will contain all the steps necessary to create a symfony5 project with docker-compose, nginx and php 7.4. File

Share this:

  • Twitter
  • Facebook
Read more
PHP 

PHP: Create a date/ timestamp with strtotime by setting the time

March 13, 2015November 19, 2019 JP 0 Comments

Everyone knows the strtotime function. With this one, for example, we can recover the date of 2 weeks ago, strtotime

Share this:

  • Twitter
  • Facebook
Read more
PHP 

PHP, DOMdocument and xPath to spar an xml file

December 19, 2013November 19, 2019 JP 0 Comments

When we have to process a very large xml, it is unfortunately not possible to use simpleXML. Fortunately for this,

Share this:

  • Twitter
  • Facebook
Read more
PHP 

PHP and simpleXML

December 19, 2013November 19, 2019 JP 0 Comments

When you want to process an XML file in PHP, there are two possibilities. Either we use simpleXML or we

Share this:

  • Twitter
  • Facebook
Read more
PHP 

PHP – How to load a FILE in PHP from a form

November 28, 2013November 19, 2019 JP 0 Comments

To find out how to load a file in PHP from a form you have to start by formatting the

Share this:

  • Twitter
  • Facebook
Read more
PHP 

PHP – How to find the origin of the call on a PHP function

November 14, 2013November 19, 2019 JP 0 Comments

It can happen that a function is only called from an interface (console, apache …). There is a function that

Share this:

  • Twitter
  • Facebook
Read more
PHP 

PHP – Create a REST API with CodeIgniter

October 21, 2013November 19, 2019 JP 0 Comments

Introduction CodeIgniter is a fairly simple framework for PHP. Compared to his big brothers such as Zend or YII, he

Share this:

  • Twitter
  • Facebook
Read more
PHP 

WordPress – how to retrieve the ID from a given meta

October 7, 2013November 19, 2019 JP 0 Comments

With WordPress, it is common to use the get_post_meta method ($post,$meta-key) in order to recover the value of a given

Share this:

  • Twitter
  • Facebook
Read more
  • ← Previous
  • Français
  • English

Recent Posts

  • Symfony – Doctrine – How to see where a sql query is executed
  • Install drupal/console on drupal 9
  • PHP Spaceship Operator <=>
Copyright © 2025 Jean-Pierre Lambelet. All rights reserved.
Theme: ColorMag by ThemeGrill. Powered by WordPress.