Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php read from mariadb

$qry = "SELECT * FROM database.table;";		//create Query
$result = $db -> query($qry);				//send and get result

$resultArray = $result->fetchAll();			//fetch result
  
echo $resultArray;							
 
PREVIOUS NEXT
Tagged: #php #read #mariadb
ADD COMMENT
Topic
Name
4+9 =