testet to use json
This commit is contained in:
parent
7709392309
commit
40a3b60bfb
3 changed files with 162 additions and 158 deletions
|
@ -4,14 +4,14 @@
|
|||
?>
|
||||
<div id="content_padding">
|
||||
<?php
|
||||
$strJsonFileContents = file_get_contents("projects_data/collection_data.json");
|
||||
$array = json_decode($strJsonFileContents, true);
|
||||
$collectionjs = file_get_contents("projects_data/collection_data.json");
|
||||
$collection = json_decode($collectionjs, true);
|
||||
?>
|
||||
<div class="collection_container">
|
||||
<?php
|
||||
$index = 0;
|
||||
foreach($collections as $c) {
|
||||
$html = '
|
||||
foreach($collection as $c) {
|
||||
$html = '
|
||||
<div class="collection">
|
||||
<div class="flexbox-col-img">
|
||||
<div class="col-img-container">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue