Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SELECT record from database

$account = $db->query('SELECT * FROM accounts WHERE username = ? AND password = ?', 'test', 'test')->fetchArray();
echo $account['name'];
Source by codeshack.io #
 
PREVIOUS NEXT
Tagged: #SELECT #record #database
ADD COMMENT
Topic
Name
4+9 =