Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php read mysql

$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 #mysql
ADD COMMENT
Topic
Name
9+7 =