书上的内容,然后已经建立了数据库和login.php文件。
.mysql_error().
; } if(isset($_post['author']) && isset($_post['title']) && isset($_post['category']) && isset($_post['year']) && isset($_post['isbn'])) { $author = get_post('author'); $title = get_post('title'); $category = get_post('category'); $year = get_post('year'); $isbn = get_post('isbn'); $query = insert into classics values. ('$author','$title','$category','$year','$isbn'); if(!mysql_query($query, $db_server)) { echo insert failed: $query
.mysql_error().
; } } echo <<<_end author title category year isbn
_end; $query = select * from classics; $result = mysql_query($query); if(!$result) die(datebase access failed: .mysql_error); $rows = mysql_num_rows($result); for($j = 0; $j<$rows; ++$j) { $row = mysql_fetch_row($result); echo <<
该网页显示正常,但是一按add recode按钮就会出现object not found错误,并且底下有error 404。
求大神帮忙呢。。。
回复讨论(解决方案) 加断点一步一步调试。
sqltext.php 文件有??
sqltext.php 存在吗?