What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-11-13 23:59:11
drop down php form retrieve data from database
<!DOCTYPE html> <html> <head> <title>PHP Retrieve Data from MySQL using Drop Down Menu</title> </head> <body> <form> City: <select> <option disabled selected>-- Select City --</opti... Add solution -
Other 2021-11-12 21:43:20
increase PHP Memory
/* To increase the PHP memory limit setting, edit your PHP.ini file found under /usr/local/etc/php/7.4/. Increase the default value (example: Maximum amount of memory a script may consume = 128MB) of the PHP memory limit line in php.ini. */ memory_limit ... Add solution -
Other 2021-11-11 21:27:22
woocommerce profile photo upload
// Add field function action_woocommerce_edit_account_form_start() { ?> <p class="woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide"> <label for="image"><?php esc_html_e( 'Image', ... Add solution -
PHP 2021-11-10 21:42:15
csv to json php
<?php //Open our CSV file using the fopen function. $fh = fopen("names.csv", "r"); //Setup a PHP array to hold our CSV rows. $csvData = array(); //Loop through the rows in our CSV file and add them to //the PHP ... Add solution -
Go 2021-11-04 08:34:13
uncloaking google colaboratory
<?phprequire __DIR__ . '/vendor/autoload.php';if (php_sapi_name() != 'cli') { throw new Exception('This application must be run on the command line.');}/** * Returns an authorized API client. * @return Google_Client the authorized client object */fu... Add solution -
PHP 2021-11-03 09:12:28
php tutorial
// Firstly you must have PHP installed & running a web server // This could be Apache, Nginx, etc... // Or for quick testing purposes and for the purpose // of this example, you could run // PHP's own dev server from a shell php -S 127.0.0.1:8080 -t y... Add solution -
PHP 2021-10-27 08:31:13
change date format php
To convert the date-time format PHP provides strtotime() and date() function. We change the date format from one format to another. Change YYYY-MM-DD to DD-MM-YYYY <? php. $currDate = "2020-04-18"; $changeDate = date("d-m-Y", strto... Add solution -
Other 2021-10-26 01:35:07
infinite loop wp bakery image carousel
/* Turn Visual Composer Image Carousel into Visual Composer Infinite Image Carousel Include before the </head> tag on yout theme's header.php Read the detailed step-by-step at https://humbertosilva.com/visual-composer-infinite-image-carousel/ */ /... Add solution