Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (23 sloc) 0.581 kb
<HTML>
<HEAD>
<TITLE>New Document</TITLE>
</HEAD>
<BODY>
<?php
$con = mysql_connect("localhost","root","");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("openspace", $con);
$query = "Select * from education_work_info";
$acquireQuery = mysql_query($query);
echo '<table border=1>';
while ($result = mysql_fetch_array($acquireQuery))
{
echo '<tr><td>'.$result[0].'</td><td> '.$result[1].'</td><td> '.$result[2].'</td></tr>'.$result[3].'</td></tr>'.$result[4].'</td></tr>';
}
echo '<table>';
?>
</BODY>
</HTML>
Jump to Line
Something went wrong with that request. Please try again.