PHP Classes

File: index.php

Recommend this page to a friend!
  Packages of joerverson   Render PHP   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Render PHP
Render PHP variable values as HTML
Author: By
Last change:
Date: 9 years ago
Size: 524 bytes
 

Contents

Class file image Download
<?php
include "Render.php";

$arr = [
    "oi"=>[
        "casa",
        "da",
        "veia"
    ],
    "data" => "coisa nova",
    "carros" =>[
        [
            "tipo"=>"4x4",
            "marca"=>"toyota",
            "motor"=>"4.6"
        ],
        [
            "tipo"=>"normal",
            "marca"=>"VW",
            "motor"=>"1.0"
        ],
        [
            "tipo"=>"2x2",
            "marca"=>"pegeuot",
            "motor"=>"1.6"
        ]
    ]

];



Render::template("template.html")->view($arr);