require_once ("conn.php"); $db_con = mysql_pconnect(db_serv, db_user, db_pass) or die("could not connect"); $db_sel = mysql_select_db(db_name, $db_con) or die("could not select"); $result = mysql_query("SELECT * FROM pages WHERE id=18", $db_con); $row = mysql_fetch_object($result); echo $row -> texts; mysql_free_result($result); mysql_close($db_con); ?> |