I don't have any experience wih PHP and I came from te Java enviroment. There are a lot of usefull tools of code generation. So, after one day with PHP , first thing I had to do is to find a DAO/Business code generator.
I am staring to use phpCodeGenie and i think is a very usefull code generation tool.
Just one minor problem I have: I am getting the folowing message: "Notice: Undefined variable: sql "
when XXXGenDAO.class.php are called.
is there any way that I could prevent that from happening??
Many thanks.
Florin Marcus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
just my bad programming practices.. i did not initialize variables before using them... its hard to lose bad habits sometimes :)
But what you can do if you want to avoid seing notices.. (non-fatal) just change the error reporting in your php.ini to show only errors and not notices..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I don't have any experience wih PHP and I came from te Java enviroment. There are a lot of usefull tools of code generation. So, after one day with PHP , first thing I had to do is to find a DAO/Business code generator.
I am staring to use phpCodeGenie and i think is a very usefull code generation tool.
Just one minor problem I have: I am getting the folowing message: "Notice: Undefined variable: sql "
when XXXGenDAO.class.php are called.
is there any way that I could prevent that from happening??
Many thanks.
Florin Marcus
just my bad programming practices.. i did not initialize variables before using them... its hard to lose bad habits sometimes :)
But what you can do if you want to avoid seing notices.. (non-fatal) just change the error reporting in your php.ini to show only errors and not notices..