| Article: |
Three-Tier Development with PHP 5 | |
| Subject: | Not very infomative | |
| Date: | 2005-05-23 23:51:31 | |
| From: | dxxchung | |
|
Thank you for such excellent work. I am a beginner. This is a very good case. I have not seen any other tutorials that chain up the input, view, save sreens and the codes together using php and mysql. But I cannot follow some of the codes not in linux format in autobuilding a database schema ie generating User.php. All I have to say is that your work is very informative. |
||
Showing messages 1 through 1 of 1.
-
Not very infomative
2005-05-31 23:57:14 dxxchung [View]



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.