What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-11-20 05:23:10
create config value file in php
<?php return (object) array( 'host' => 'localhost', 'username' => 'root', 'pass' => 'password', 'database' => 'db' ); ?> This allows you to use the object syntax when you include the php : $configs->host instead o... Add solution -
PHP 2021-11-17 08:30:21
check php-fpm version ubuntu
#Checking and printing PHP version installed on your Linux and Unix server #To find out php version installed on the server type any one of the following commands on your server. 1.Open the terminal prompt and then type the following commands. 2.Login to... Add solution -
PHP 2021-11-12 22:46:13
PHP-cs-fixer: Executable Path Windows
composer global require friendsofphp/php-cs-fixer Then Add In settings.json vscode "php-cs-fixer.executablePath": "phpcs.bat", "php-cs-fixer.executablePathWindows": "phpcs.bat", "php-cs-fixer.onsave": tr... Add solution -
PHP 2021-11-10 22:07:08
wamp php version update
For someone who need to update the PHP version in WAMP, I can recommend this http://wampserver.aviatechno.net/ I had a problems with updating too, but on this website are Wampserver addons like new php version (php 7.1.4 etc.) And you don't have to manua... Add solution -
PHP 2021-11-10 06:50:17
php mysqli create class
<?php /** * Simple Database class for PHP7+ * The class contains main functions for your database. For a detailed documentation, see: https://webdeasy.com/ * created 08.11.2017 * * @author LH */ class Database { private $host, $database, $username, ... Add solution