0) { while($row = mysql_fetch_object($r_proc)){ if ($row->visible != 0) { ?>

@inproceedings{ reference;?>,
  author = { author;?>},
  title = { title;?>},
  booktitle = { booktitle;?>},
  publisher = { publisher;?>},
  address = { address;?>},
  editor = { editor;?>},
  volume = { volume;?>},
  series = { series;?>},
  year = { year;?>},
  month = { month;?>},
  pages = { pages;?>},
  url = { url;?>},
  location = { location;?>},
}

0) { while($row = mysql_fetch_object($r_proc)){ if ($row->visible != 0) { ?>

@inbook{ reference;?>,
  author = { author;?>},
  chapter = { chapter;?>},
  title = { title;?>},
  page = { page;?>},
  year = { year;?>},
  publisher = { publisher;?>},
  url = { url;?>},
}

0) { while($row = mysql_fetch_object($r_proc)){ if ($row->visible != 0) { ?>

type == "Master's Thesis") { ?> @msthesis{ reference;?>,
@phdthesis{ reference;?>,
  author = { author;?>},
  title = { title;?>},
  school = { school;?>},
  year = { year;?>},
  month = { month;?>},
  url = { url;?>},
}

0) { while($row = mysql_fetch_object($r_proc)){ if ($row->visible != 0) { ?>

@article{ reference;?>,
  author = { author;?>},
  title = { title;?>},
  journal = { journal;?>},
  publisher = { publisher;?>},
  address = { address;?>},
  editor = { editor;?>},
  volume = { volume;?>},
  number = { number;?>},
  series = { series;?>},
  year = { year;?>},
  month = { month;?>},
  pages = { pages;?>},
  url = { url;?>},
  location = { location;?>},
}