"); $firstname = $row['firstname']; $lastname = $row['lastname']; $guest = addslashes($firstname.' '.$lastname); $description = addslashes($row["description"]).""; $date = date("j M Y", strtotime($row["day"])); $prev_filename = $filename; $filename = trim(addslashes($row["filename"])); $sql = " SELECT interviews.id, interviews.title, interviews.filename, interviews.day, interviews.description, users.firstname, users.lastname FROM interviews, users WHERE interviews.filename = '$prev_filename' AND users.id = interviews.interviewee_id_2 ORDER BY filename ASC "; $result_2 = db_query($sql); $row_2 = db_fetch_array($result_2); $firstname_2 = $row_2['firstname']; $lastname_2 = $row_2['lastname']; $guest_2 = trim(addslashes($firstname_2.' '.$lastname_2)); ?> filename = '' document.write('
GUEST:
TOPIC:
Brought to you by The Small Business Advocate®
'); document.write(''); linktext = '' document.write(''+linktext+''); $length) { // string exceeded length, truncate and add trailing dots return substr($str,0,$length).$trailing; } else { // string was already short enough, return the string $res = $str; } } return $res; } ?>