Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php echo sql result

$sql = "select * FROM tableName;";

$result = mysqli_query($conn, $sql);
while ($row = mysqli_fetch_assoc($result)) {
  echo $row['columnName']; 
}
 
PREVIOUS NEXT
Tagged: #php #echo #sql #result
ADD COMMENT
Topic
Name
6+5 =