What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-28 16:25:04
mysql create the database and table
<?php CREATE TABLE IF NOT EXISTS `my_contacts` ( `id` int(11) NOT NULL AUTO_INCREMENT, `full_names` varchar(255) NOT NULL, `gender` varchar(6) NOT NULL, `contact_no` varchar(75) NOT NULL, `email` varchar(255) NOT... Add solution -
SQL 2022-02-28 13:50:18
deadlock table in mysql
1 141013 6:06:22 2 *** (1) TRANSACTION: 3 TRANSACTION 876726B90, ACTIVE 7 sec setting auto-inc lock 4 mysql tables in use 1, locked 1 5 LOCK WAIT 9 lock struct(s), heap size 1248, 4 row lock(s), undo log entries 4 6 MySQL thread id 155118366, OS thread ha... Add solution -
SQL 2022-02-26 14:50:18
mysql store ip address
-- `ip_address` int(4) unsigned NOT NULL INSERT INTO my_table (`ip_address`) VALUES (INET_ATON("127.0.0.1")); SELECT INET_NTOA(ip_address) as ip FROM my_table; -- php <?php var_dump(ip2long('123.63.153.253')); -- 2067765757 var_dump(long2ip(2... Add solution -
PHP 2022-02-24 17:05:02
how to make a sign-up database
<?php session_start(); // initializing variables $username = ""; $email = ""; $errors = array(); // connect to the database $db = mysqli_connect('localhost', 'root', '', 'registration'); // REGISTER USER if (isset($_POST['reg... Add solution