PHP-jQuery Displaying items properly -
i have problem. want display every "subject" (titles) in page , not first 1 now. when add new message, index displays first one, , when click on "open" button can see messages. any suggestion? many thanks. this de code: <?php require_once("config.php"); if (isset($_session['username']) === false){ header('location:login.php'); exit(); } $where = ""; $searchcriteria = ""; if (isset($_get['search']) && $_get['search'] != '') { $searchcriteria = mysql_real_escape_string($_get['search']); $where = " subject '%" . $searchcriteria . "%'"; $where .= " or message '%" . $searchcriteria . "%'"; } $sql = "select * notes " . $where . " limit 30"; $result = mysql_query($sql); ?> <!doctype html> html> <head> <meta http-equiv="content-type" content="te...