- 1 Cài đặt phần mềm cần thiết cho học lập trình web
- 2 Tự Học HTML Cơ Bản Online Miễn Phí Từ A đến Z
- 3 Seo website dành cho dân IT
- 4 REACT NATIVE
- 5 sdfdsf
- 6 Lập trình di động với React Native
- 7 Vue.js
- 8 Kiếm thức cơ bản HTML CSS
- 9 So sánh count() và sizeof() 2 phần tử đếm mảng
- 10 Toán tử và biểu thức của php
Hàm mysqli_fetch_object() trong PHP - PHP Function
Code $con=mysqli_connect("localhost","my_user","my_password","my_db"); // Check connection if (mysqli_connect_errno()){ echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $sql="SELECT Lastname,Age FROM Persons ORDER BY Lastname"; if ($result=mysqli_query($con,$sq ...
Hàm mysqli_fetch_row() trong PHP - PHP Function
Code $con=mysqli_connect("localhost","my_user","my_password","my_db"); // Check connection if (mysqli_connect_errno()){ echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $sql="SELECT Lastname,Age FROM Persons ORDER BY Lastname"; if ($result=mysqli_query($con,$s ...
Hàm mysqli_field_count() trong PHP - PHP Function
Code $con = mysqli_connect("localhost","my_user","my_password","my_db"); // Check connection if (mysqli_connect_errno()){ echo "Failed to connect to MySQL: " . mysqli_connect_error(); } mysqli_query($con,"SELECT * FROM Friends"); // Get number of columns - will always return ...
Hàm mysqli_field_seek() trong PHP - PHP Function
Code $con = mysqli_connect("localhost","my_user","my_password","my_db"); // Check connection if (mysqli_connect_errno()){ echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $sql = "SELECT Lastname,Age FROM Persons ORDER BY Lastname"; if ($result = ...
Hàm mysqli_field_tell() trong PHP - PHP Function
Code $con = mysqli_connect("localhost","my_user","my_password","my_db"); // Check connection if (mysqli_connect_errno()){ echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $sql="SELECT Lastname,Age FROM Persons ORDER BY Lastname"; if ($result=mysqli_query($con,$ ...
Hàm mysqli_free_result() trong PHP - PHP Function
Code $con = mysqli_connect("localhost","my_user","my_password","my_db"); // Check connection if (mysqli_connect_errno()){ echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $sql="SELECT Lastname,Age FROM Persons ORDER BY Lastname"; if ($result=mysqli_query($con,$ ...
Hàm mysqli_get_charset() trong PHP - PHP Function
Code $con = mysqli_connect("localhost","my_user","my_password","my_db"); // Check connection if (mysqli_connect_errno()){ echo "Failed to connect to MySQL: " . mysqli_connect_error(); } var_dump(mysqli_get_charset($con)); mysqli_close($con);
Hàm mysqli_get_client_stats() trong PHP - PHP Function
Code echo "<pre>"; print_r(mysqli_get_client_stats()); echo "</pre>";
Hàm mysqli_get_client_version() trong PHP - PHP Function
Code echo "<pre>"; print_r(mysqli_get_client_version()); echo "</pre>";
Hàm mysqli_get_connection_stats() trong PHP - PHP Function
Code $con = mysqli_connect("localhost","my_user","my_password","my_db"); // Check connection if (mysqli_connect_errno()){ echo "Failed to connect to MySQL: " . mysqli_connect_error(); } print_r(mysqli_get_connection_stats($con)); mysqli_close($con);