2 Webpage to a Database_did_mat1_2variant
Оценка 4.7

2 Webpage to a Database_did_mat1_2variant

Оценка 4.7
docx
09.05.2020
2 Webpage to a Database_did_mat1_2variant
2 Webpage to a Database_did_mat1_2variant.docx

Didactical material

Name __________________ Class ______________________

Objective: 10.3.3.3 link a webpage to a database

1.      Write a correct syntax to include a file named "footer.php".

<?php _____________________;?>

2.      Assume we have a file named "webdict.txt", write the correct syntax to open and read the file content.

echo ______________________________;

3.      Create a cookie named "username".

______________("username", "John", time() + (86400 * 30), "/");

4.      Open a file, and write the correct syntax to output one character at the time, until end-of-file.

$myfile = fopen("webdict.txt", "r");

while(!___________________($myfile)) {

  echo ____________________($myfile);

}


 

Didactical material Name __________________

Didactical material Name __________________
Скачать файл