Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php read sql

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

$resultArray = $result->fetchAll();			//fetch result
  
echo $resultArray;			
Comment

PREVIOUS NEXT
Code Example
:: implode array keys in php 
::  
::  
::  
Php ::  
Php ::  
::  
::  
::  
::  
::  
::  
Php ::  
::  
Php ::  
Php ::  
::  
:: php check if query succeeded 
::  
::  
::  
::  
::  
Php ::  
::  
Javascript ::  
::  
:: kill all node processes 
:: jquery get screen height 
::  
ADD CONTENT
Topic
Content
Source link
Name
2+4 =