|
I finally found out what had been missing in your model.
Firstly, add the following lines to pass variables in save.php
$x=$_POST["x"];
$y=$_POST["y"];
$z=$_POST["z"];
Secondly, add a program, which I called schemagen.php.
<?php
//
// Builds the DataObjects classes
$_SERVER['argv'][1] = 'example.ini';
require_once 'DB/DataObject/createTables.php';
?>
I have seen this article translated and posted in simplified Chinese in several sites. Anyway, your model will become the backbone of my first commercial project.
|