mzanfardino
public text v1 · immutable<?php
$addr = "10.10.10.116";
$name = "test";
$pass = "test";
$con = mysql_connect($addr, $name, $pass) or die("unable to connect to sql");
$res = mysql_query("SELECT AREAINFO.DESC FROM AREAINFO;") or die("unable to query sql<br/>");
while($row = mysql_fetch_array($res, MYSQL_ASSOC))
{
echo $row['DESC'];
}
?>