CSC 5750 Lecture Notes - Lecture 18: File Server, Associative Array, Sqlite

19 views9 pages

Document Summary

Indexed each element is accessed via a pair of numbers. The homework 3-2 key is available on canvas. A two-dimensional array is an array of arrays. There are two types of two-dimensional arrays: = array array(canoe, 16), array(sailboat, 42), array(freighter, 1000) // array with 3 rows and 2 columns. Associative each element is accessed via a name (an index may not be used). Php functions json_encode and json_decode convert a php object to json and from json, respectively. Here are the methods to move an array/object between javascript on the client and php on the server: See send array with ajax and get page on canvas. Php functions file and file_get_contents enable a file on the server to be read into an array or string variable, respectively. Php function file_put_contents enables a string variable to be written to a file on the server.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents