What does the unlink() function mean?
The unlink() function is dedicated for file system handling. It simply deletes the file given as entry.
The unlink() function is dedicated for file system handling. It simply deletes the file given as entry.
If we want to check whether a variable has a value or not, it is possible to use the empty() function.
It is possible to use the dedicated function, ctype_alnum to check whether it is an alphanumeric value or not.
It is possible to use the dedicated function, is_numeric() to check whether it is a number or not.
To access the data sent this way, you use the $_POST array. Imagine you have a form field called ‘firstname’ on the form when the user clicks submit to the…
To access the data sent via the GET method, we use $_GET array like this: www.url.com?var=value $variable = $_GET; this will now contain 'value'
The mysqli_fetch_object() function collects the first single matching record where mysqli_fetch_array() collects all matching records from the table in an array.
mysqli_affected_rows() return the number of entries affected by an SQL query.
The function mysqli_num_rows() returns the number of rows in a result set.
The result set can be handled using mysqli_fetch_array, mysqli_fetch_assoc, mysqli_fetch_object or mysqli_fetch_row.