What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-02-02 18:30:50
showing database table in php
$connection = mysql_connect('localhost', 'root', ''); //The Blank string is the password mysql_select_db('hrmwaitrose'); $query = "SELECT * FROM employee"; //You don't need a ; like you do in SQL $result = mysql_query($query); echo "<t... Add solution -
Delphi 2022-02-02 17:26:35
INSERT into syntax error in delphi
ADOquery1.SQL.Add('Insert into admins'); ADOquery1.SQL.Add('([Name] , [Surname], [Dateadded], [Adminnumber], [Password])'); ADOquery1.SQL.Add('Values (:Name, :Surname, :Dateadded, :adminnumber, :Password)'); ADOquery1.Parameters.ParamByName('Name').Valu... Add solution -
Other 2022-02-02 11:46:39
dapper
string sqlOrderDetails = "SELECT TOP 5 * FROM OrderDetails;"; string sqlOrderDetail = "SELECT * FROM OrderDetails WHERE OrderDetailID = @OrderDetailID;"; string sqlCustomerInsert = "INSERT INTO Customers (CustomerName) Values (@Cu... Add solution -
-
Other 2022-02-01 06:56:29
wordpress
<?php // 1st Method - Declaring $wpdb as global and using it to execute an SQL query statement that returns a PHP object global $wpdb; $results = $wpdb->get_results( "SELECT * FROM {$wpdb->prefix}options WHERE option_id = 1", OBJECT ); Add solution -
-
Other 2022-02-01 02:51:14
Zoom image using html js php
<div id="gridview"> <div class="heading">Zoom for Product Images in PHP Shopping Cart</div> <?php $query = $db_handle->runQuery("SELECT * FROM tbl_products ORDER BY id ASC"); if (! empt... Add solution -
SQL 2022-01-31 10:46:01
reading mysql data in python
.wp-block-code { border: 0; padding: 0; } .wp-block-code > div { overflow: auto; } .shcb-language { border: 0; clip: rect(1px, 1px, 1px, 1px); -webkit-clip-path: inset(50%); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden... Add solution