Skip to content

Instantly share code, notes, and snippets.

@yask123
Created April 29, 2014 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yask123/11404673 to your computer and use it in GitHub Desktop.
Save yask123/11404673 to your computer and use it in GitHub Desktop.
Test
<?php
include ‘connection.php’;
$query = “SELECT * FROM people”;
$result = mysql_query($query);
while($person = mysql_fetch_array($result))
{
echo “<h3>”.$person[‘Name’].”</h3>”;
}
echo “<h2>YIPEEE , I finally outputted data from mysql !!</h2>”;
echo “GREAT SUCCESS!!!!!!!!!”;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment