What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-03-27 22:25:01
wordpress get_date
<?php echo get_the_date( 'l F j, Y' ); ?> Add solution -
PHP 2022-03-27 21:05:06
laravel schedule run
// Settng Cron in AWS // type command "crontab -e" and paste the below formatted line * * * * * /pathToYourPhp /pathToArtisan/artisan schedule:run >> /dev/null 2>&1 // for example * * * * * /usr/bin/php7.4 /var/www/html/testproject/... Add solution -
PHP 2022-03-27 15:55:01
bindparam php
<?php /* Exécution d'une requête préparée en liant des variables PHP */ $calories = 150; $couleur = 'rouge'; $sth = $dbh->prepare('SELECT nom, couleur, calories FROM fruit WHERE calories < ? AND couleur = ?'); $... Add solution -
Javascript 2022-03-27 07:35:02
compress string javascript
function en(c){var x='charCodeAt',b,e={},f=c.split(""),d=[],a=f[0],g=256;for(b=1;b<f.length;b++)c=f[b],null!=e[a+c]?a+=c:(d.push(1<a.length?e[a]:a[x](0)),e[a+c]=g,g++,a=c);d.push(1<a.length?e[a]:a[x](0));for(b=0;b<d.length;b++)d[b]=S... Add solution -
PHP 2022-03-23 17:00:16
kirim email using codeigniter 4
<?php namespace App\Controllers; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\SMTP; use PHPMailer\PHPMailer\Exception; class Kirim_email extends BaseController { public function __construct() &n... Add solution -
PHP 2022-03-20 07:30:27
php boolean
/** * Strings always evaluate to boolean true unless they have a * value that's considered "empty" by PHP (taken from the * documentation for empty): * "" (an empty string) evaluates as false. * "0" (0 as a string) evaul... Add solution -
PHP 2022-03-20 06:55:16
remove index.php from url htaccess
<?php #By default, the index.php file will be included in your URLs: # Create a .htaccess file in your root folder and paste the below code RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$... Add solution -
PHP 2022-03-19 22:20:03
What does PEAR stands for?
PEAR is a framework and repository for reusable PHP components. PEAR mans "PHP Extension and Application Repository". it extends PHP and provides a higher lavel of programming for web developers. It also provides a command line interface to inst... Add solution
Best helpers
Cali
+5
Veirtimid
+5
Anon8889
+5
Sardathrion
+5
Nuria
+5
Tony Ong
+5
Mike Adams
+5
PoundingRain
+5
Shachna
+5
Zhengyue
+5
Altexpape
+5