What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-10-17 04:22:05
Notice: Array to string conversion php
Using implode() function in Php ----------------------- Syntax implode(separator,array); Example <?php //assigning value to the array $dummyArr = array("Hello","Greppers,","Ankur","here !"); echo impl... Add solution -
SQL 2021-10-14 18:27:05
how to check history of database in phpmyadmin
To view the past queries simply run this query in phpMyAdmin. SELECT * FROM `general_log` if it is not enabled, run the following two queries before running it. SET GLOBAL log_output = 'TABLE'; SET GLOBAL general_log = 'ON'; Add solution -
PHP 2021-10-14 13:37:08
python to php
Depending on what you are doing, system() or popen() may be perfect. Use system() if the Python script has no output, or if you want the Python script's output to go directly to the browser. Use popen() if you want to write data to the Python script's sta... Add solution -
PHP 2021-10-14 03:21:07
gd2 image resizing library in codeigniter
How to resize image in php codeigniter // Configuration. $config['image_library'] = 'gd2'; $config['source_image'] = './img/images/uploaded/'.$ imgName.". jpeg"; $config['new_image'] = './img/images/uploaded/'.$ imgName." _... Add solution -
PHP 2021-10-13 07:18:10
add values to array dynamically php
There are quite a few ways to work with dynamic arrays in PHP. Initialise an array: $array = array(); Add to an array: $array[] = "item"; // for your $arr1 $array[$key] = "item"; // for your $arr2 array_push($array, "item"... Add solution -
PHP 2021-10-10 00:26:05
magic method get php
/* The following function names are magical in PHP classes. You cannot have functions with these names in any of your classes unless you want the magic functionality associated with them. */ __construct(), __destruct(), __call(), __callStatic(), __... Add solution