Symfony – Doctrine – How to see where a sql query is executed
When using Doctrine, it is sometimes important to find where a SQL query is executed. To do this, simply activate
Read moreWhen using Doctrine, it is sometimes important to find where a SQL query is executed. To do this, simply activate
Read moreFor security, you can’t directly reach the page outside the iframe from it. On the other hand, we can recover
Read moreA small script to count the number of words and characters in a input or textarea field <input id="text" name="text"
Read moreBasic I've seen a lot of codes using strlen to recover a character chain size, unfortunately this method, returns the
Read moreA small function to replace the character accented their pendants without. function normalize_str ($str) { $invalid ' array,'' 'S', '''s',
Read moreTo effectively remove special characters in a thong, simply use the preg_replace method. $string – preg_replace ('[^a-zA-Z0-9]/s', '', $string);
Read moreTo make queries on WordPress, I'm used to using WP_Query ($args). In this example, we are talking about adding a
Read moreTo make all wordpress functions accessible in a PHP script, just include the wp_load.php require_once('.. /wp-load.php'); to test, we can
Read moreUsing the getElementsByTagName method to navigate and find the wire in question. $number-orders – $image-1–getElementsByTagName ('number_order'); foreach ($number-orders as $key
Read moreTo find out if the current user is an administrator in WordPress, i.e. if they have the right to set
Read more