2079 2

Web Technology II207910 marksExtract and compact functions

How can you store string type data in an array? Write a PHP program to illustrate use of extract and compact functions for conversion between arrays and variables.

How can you store string type data in an array? Write a PHP program to illustrate use of extract and compact functions for conversion between arrays and variables.[10]

--- In PHP, strings can be stored in arrays just like any other data type. PHP supports both indexed arrays and associative arrays for storing string data. - Each string is stored at a numeric index starting from 0. - $fruits[0] gives "Apple", $fruits[1] gives "Banana", etc. - Each string value i...

Up nextConsider you have a login form having username, password fields, login and cancel buttons.