Menu

[r1]: / sampleCode / loadShapes.php  Maximize  Restore  History

Download this file

25 lines (20 with data), 512 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/*
********************************************************
Name: loadShapes.php
Author: Rob Hunter
Date 1/14/11
Description: This is a diagnostic file to check out what the shapes look
like.
********************************************************
*/
require_once('../lib/initHunterDB.php');
global $shapes;
//iterate over shapes
if (!empty($shapes)){
foreach ($shapes as $shape){
//use debugHTML to see what's going on
echo $shape->debugHTML();
}
}
?>
MongoDB Logo MongoDB