: 'json'; //json is the default
/* connect to the db */
- $link = mysql_connect($_SERVER['mysql_host'], $_SERVER['mysql_user'], $_SERVER['mysql_pw']) or die('Cannot connect to the DB');
- mysql_select_db($_SERVER['mysql_db'],$link) or die('Cannot select the DB');
+ $link = mysql_connect($_SERVER['dev_po_host'], $_SERVER['dev_po_user'], $_SERVER['dev_po_pw']) or die('Cannot connect to the DB');
+ mysql_select_db($_SERVER['dev_po_db'],$link) or die('Cannot select the DB');
switch ($type) {
case 'autocomplete':