2nd Pair of eyes please

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



O.K., I give up.. I can't seem to find why this breaks the page to
a point where nothing gets displayed in the browser (no error reporting).

Sorry for any email line breaks:


-------start---------
if ($t_dataon) {
$query = "SELECT s_sitename,s_logopath,s_headinfo,s_head_moreinfo,s_rightpic_path FROM site WHERE (s_id=31) LIMIT 1";

  if ($a_r = @mysql_query($query)) {
while (list($tname, $tlogo, $thead, $tmorehead, $trpic) = mysql_fetch_row($a_r)) {
      $t_sitename = "$tname";
      $t_logopath = "$tlogo";
      $t_headinfo = "$thead";
      $t_moreheadinfo = "$tmorehead";
      $t_rpic = "$trpic";
    }
  } else {
    // Problem with query
    print = "<!-- problem -->";
  }
}
--------end---------


If I take it out, the page renders. Any ideas?

TIA,
Donovan



--
D Brooke

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux