Cơ sở dữ liệu APACHE, PHP, MYSQL - 12

/* Function to get the director’s name from the people table */ function get_director() { global $movie_director; global $director; $query_d = SELECT people_fullname . FROM people . WHERE people_id=’$movie_director’; $results_d = mysql_query($query_d) or die(mysql_error()); $row_d = ...

Cơ sở dữ liệu APACHE, PHP, MYSQL - 11

Trong bài tập này bạn liên kết các bảng lại với nhau như bạn thấy trong chương 3, bạn có thể xuất đầy đủ thông tin dữ liệu. Sửa file table1.php như sau lưu lại với tên table2.php <?php $link = mysql_connect(localhost,root,) or die(mysql_error()); ...

Trang chủ Tài liệu miễn phí