I can only get 3 results per array when I use this expression:
preg_match_all('#\*([0-9a-zA-Z_]+)="(.*?)";#', $data, $vardata);
When I use it on this string:
*file_name="test";
*file_size="128121";
*file_type="image/jpeg";
*file_real="fc294910cd_1024968.jpg";
I only get file_name, file_size, and file_type...
array(3) { ["file_name"]=> string(4) "test" ["file_size"]=> string(6) "128121" ["file_type"]=> string(10) "image/jpeg" }
For some reason file_real is left out? Anyone want to help? I'm using this to store variables in a mySQL table so i don't need multiple tables.