Php get records converbaet to two dimensional array -
i record database convert 2 dimensional array.
example: $data = array( 1 => array ('name', 'surname','sex','address','web'), array('schwarz', 'oliver','m','kp','222.dddd'), array('test', 'peter','f','kk','wwww.fsadfs') );
how can format info database illustration above ?
here example, using pdo , in-memory sqlite database created within paste itself; having create database in-line makes script bit more verbose strictly necessary.
php arrays multidimensional-array
No comments:
Post a Comment