How to write PHP with page value?
The effect I want is
do {?>
Title
| "> |
} while ($row _recordset_task = Mysql_fetch_assoc ($Recordset _task))?>
The content of the title is displayed here, the content is in, the database value is $row_recordset_task[' Csa_text ']
------Solution--------------------
Do you want to not refresh the page? That's the way to use Ajax or stupid point is to make a new page style with the original page to jump to the new page with the original interface almost as if the visual is not refreshing the same
------Solution--------------------
Agreed to use ajax!!! upstairs.
------Solution--------------------
PHP Code
Error: ". Mysql_error ()); if (mysql_affected_rows () > 0) {$titles = array (); while ($rows = Mysql_fetch_array (MYSQL_ASSOC)) {Array_push ($titles, $rows); }}?>
Error: ". Mysql_error ()); if (mysql_affected_rows () > 0) {$rows = Mysql_fetch_array (MYSQL_ASSOC); } print_r ($rows); Mysql_close ();}? >
------Solution--------------------
Study the
discuss
PHP Code
/* Created on [2012-5-16] author[yushuai.niu] */
#查询标题信息
$sql = "SELECT * FROM table";
$res =mysql_query ($sql);
if (! $res) Die ("SQL: {$sql}
Error: ". Mysql_error ());
if (Mys ...