What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-03 01:35:14
code for searching and displaying data database
<?php // (A) DATABASE CONFIG - CHANGE TO YOUR OWN! define('DB_HOST', 'localhost'); define('DB_NAME', 'test'); define('DB_CHARSET', 'utf8'); define('DB_USER', 'root'); define('DB_PASSWORD', ''); // (B) CONNECT TO DATABASE try { $pdo = new PDO( &q... Add solution -
Javascript 2022-03-02 10:10:03
google custom search 'Request contains an invalid argument.
cse.list({ q: 'Florin Relea', // <-- REQUIRED cx: 'placeholder' // <-- REQUIRED }) /* 1) Create your cx here: https://support.google.com/programmable-search/answer/2649143?hl=en 2) Go to https://cse.google.com/cse/ Enable Search the entire w... Add solution -
Shell/Bash 2022-03-01 08:05:03
dir files windows
# For finding file use dir followed by string matching file name or regex # pattern and add "/s" for searching recursively in subfolders: dir /s "regex_or_file_name" # For finding file contained in a searched directory use "/b&quo... Add solution -
C++ 2022-03-01 07:40:25
hashtable linear probing ,insertion deletion searching
//all the basic opertaion insertion , deletion ,searching,displaying #include <iostream> using namespace std; void init(int arr[],int size) { for(int i=0;i<size;i++) { arr[i]=-1; } } void inserthash(int arr[],int size,int val... Add solution -
Other 2022-02-28 05:55:02
text_field_tag
text_field_tag 'name' # => <input id="name" name="name" type="text" /> text_field_tag 'query', 'Enter your search query here' # => <input id="query" name="query" type="text" value... Add solution -
Java 2022-02-28 01:55:24
File Parser java
public class Finder { public static void main(String[] args) { String[] search = { "pinky", "pacman.txt","pacman2.txt","pacman3.txt"}; for(int i = 1; i < search.length;i++) { FileParser fp = new FileParse... Add solution
Best helpers
Withkare
+5
S9527
+5
BuckNaked69
+5
Mark Gabriel
+5
Lvoyster
+5
Geoffre14
+5
Arttu
+5
Oddthinking
+5
Kapil
+5
Awgiedawgie
+5
AppleFix88
+5
Jun Czyrka
+5
V0ight
+5
Feynman
+5
Aleks
+5
Nick Rowe
+5
Cob
+5