Giter Club home page Giter Club logo

json-generator's Introduction

json-generator

How to Make a Content in php with json api. with fiture how to usage, the content will be added when the json add some field

How To Usage

  1. You Just Need Write The Json And Add Field To Make A New Field
  2. You can write the json name or the content of json

Function

// request file json from file and input on variable, requested json file to take the content and field the content
$data = file_get_contents('data/config.json')

Requested Json From Folder DATA and from file config.json to take the json field to make a new path of content. the json made 1 field content to the html page.

$content = json_decode($data, true); // $data is variable in file_get_content you can change the name

Decode the json to take the ARRAY

<?php foreach($field as $row) : ?> // to repeat the json

Repeat the content, the content will same of your field in json page, make new field json page to add new content

Contributors

The contributor 100% is was Mhmabotz visit their youtube to see the proccess to create this file Youtube channel was posted soon

json-generator's People

Contributors

mhmabotz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.