hi,
i have a class file that have all values from a database fields.
for example:
class mospedidos extends mosDBTable {
id = null;
date =null;
}
class mosunder extends mosDBTable {
id = null;
name =null;
}
each time i creat a new field in the database i need add the same field in the
class file, what i want is a way using php to add that new field to the class file.
i just need a way to open the file and the class name that i give and add the value
and save the file.
how can i do this?
thanks for your help
:)