Skip to content

Jean-Pierre Lambelet

Il n'y a pas de questions bêtes

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

Non classé

Non classé 

WordPress – Character counter for the caption field of an image

August 13, 2013 JP 0 Comments

For every WordPress image, we can add a Caption/Title. It may be useful to add a counter. To do this,

Share this:

  • Twitter
  • Facebook
Read more
Non classé 

jQuery – Which button is selected

August 13, 2013 JP 0 Comments

To recover the value of the select button: $('input[name=radioName]:checked', '#myForm').val()

Share this:

  • Twitter
  • Facebook
Read more
Non classé 

PHP – CURL Authentication

August 13, 2013 JP 0 Comments

To make a curl application with authentication, just add the option CURLOPT_USERPWD $ch curl_init(); curl_setopt ($ch,CURLOPT_URL, url'); curl_setopt ($ch, CURLOPT_USERPWD,

Share this:

  • Twitter
  • Facebook
Read more
Non classé 

jQuery file Upload – Basic solution with a callback

August 13, 2013 JP 0 Comments

jQuery-File Upload How to use the basic solution of http://blueimp.github.com/jQuery-File-Upload/ and make it work for all browsers (special dedication to

Share this:

  • Twitter
  • Facebook
Read more
Non classé 

SQL – how to change the ORDER BY in a query

August 13, 2013 JP 0 Comments

When it is necessary to have a predefined order in a query, it is possible to change the order of

Share this:

  • Twitter
  • Facebook
Read more
  • Next →
  • 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.