What do you want to save?
Add Code snippet
New code examples
-
SQL 2021-09-04 07:25:03
how to get button for every record from mysql
<html> <form method = "GET" action = "copytrade.php"> <?php require('connect.php'); $query = "SELECT * FROM trade_history1 "; //You don't need a ; like you do in SQL $result = mysql_query($query); echo "... Add solution -
Javascript 2021-09-03 17:59:02
compress image javascript
//========= Step 1 - Client Side Compression =========== //Images Objects var source_img = document.getElementById("source_img"), target_img = document.getElementById("target_img"); //(NOTE: see the examples/js/demo.js file to un... Add solution -
Javascript 2021-09-01 03:40:01
Open URL while passing POST data with jQuery
$(button).click(function(){ var s_name=$("#txtbox").val(); $.post("http://localhost/AJAX/save_session.php", { student_name: s_name, }, function(data){ location.href='http://localhost/AJAX/result.php'; }); // On http... Add solution -
PHP 2021-08-31 20:42:02
wordpress create account function
// Simple wp_create_user( 'johndoe', 'passwordgoeshere', '[email protected]' ); // wp_insert_user() for more fields $user_data = array( 'ID' ( null | integer ), 'user_pass' ( null | string ), 'user_login' ( null | string ), 'user_nicename' ( n... Add solution -
-
-
Shell/Bash 2021-08-30 07:43:02
install composer on linux
# The following method has been tested on Ubuntu 20.04 # But i think it should work fine with any other distribution # Ensure you're on Desktop, to prevent issues with permissions cd ~/Desktop # Download the installer script php -r "copy('https://g... Add solution -
Shell/Bash 2021-08-28 18:24:02
ubuntu install composer
sudo apt update sudo apt install php-cli unzip cd ~ curl -sS https://getcomposer.org/installer -o composer-setup.php HASH=`curl -sS https://composer.github.io/installer.sig` echo $HASH php -r "if (hash_file('SHA384', 'composer-setup.php') === '$HASH... Add solution