"; $errmsg2 = "2The Press Releases are not available now. Please try again later.
"; $errmsg3 = "3The Press Releases are not available now. Please try again later.
"; // Connect to database $sMysqlServer = $host; $sMysqlUser = $user; $sMysqlPassword = $password; $sMysqlDatabase = "pressreleases"; $table = "content"; $connection = mysql_connect($sMysqlServer, $sMysqlUser, $sMysqlPassword); if (!$connection) { die('Could not connect: ' . mysql_error()); } mysql_select_db($sMysqlDatabase, $connection); mysql_query("SET NAMES 'utf8'"); $query = "select * from $table where ID = " . "'" . $ID . "'"; // echo "$query
"; $result = mysql_query($query); $curr_row = mysql_fetch_array($result); // Handle character representation for title and body. $title_of_release = $curr_row[title]; $body_of_release = $curr_row[body]; /* $title_of_release = str_replace ("", "'" , $curr_row[title]); $title_of_release = str_replace ("-", "-" , $title_of_release); $title_of_release = str_replace ("--", "-" , $title_of_release); $title_of_release = str_replace ("", "-" , $title_of_release); $title_of_release = str_replace ("", "-" , $title_of_release); $body_of_release = str_replace ("?", "-" , $body_of_release); $body_of_release = str_replace ("", "-" , $body_of_release); $body_of_release = utf8_encode($body_of_release); $body_of_release = str_replace ("\0", "-" , $body_of_release); $body_of_release = str_replace ("", "'" , $curr_row[body]); $body_of_release = str_replace ("-", "-" , $body_of_release); $body_of_release = str_replace ("--", "-" , $body_of_release); $body_of_release = str_replace ("", "-" , $body_of_release); $body_of_release = str_replace ("", "-" , $body_of_release); $body_of_release = str_replace ("?", "-" , $body_of_release); $body_of_release = str_replace ("", "-" , $body_of_release); $body_of_release = utf8_encode($body_of_release); $body_of_release = str_replace ("\0", "-" , $body_of_release); // $body_of_release = str_replace (char(160), "-" , $body_of_release); */ ?>
North Carolina A&T State University North Carolina A&T State UniversityNorth Carolina A&T State UniversityCurrent StudentsNorth Carolina A&T State UniversityNorth Carolina A&T State UniversityNorth Carolina A&T State UniversityParentsNorth Carolina A&T State UniversityNorth Carolina A&T State UniversityNorth Carolina A&T State UniversityAlumniFaculty and StaffNorth Carolina A&T State UniversityNorth Carolina A&T State UniversityAlumniNorth Carolina A&T State UniversityNorth Carolina A&T State UniversityNorth Carolina A&T State UniversityCommunity Partners
North Carolina A&T State University
North Carolina A&T State UniversityAbout UsNorth Carolina A&T State UniversityAdmissionsNorth Carolina A&T State UniversityAcademicsNorth Carolina A&T State UniversityResearchNorth Carolina A&T State UniversityExcellenceNorth Carolina A&T State UniversityCampus LifeNorth Carolina A&T State UniversityAthleticsNorth Carolina A&T State UniversityNews and Events North Carolina A&T State UniversityGiving

Press Release Home


North Carolina Agricultural And Technical State University Contact Us
Maps & Directions
Employment Opportunities
Privacy Policy Legal Information
1601 E. MARKET STREET, GREENSBORO, NC, 27411, 336.334.7500