create more object is inconsistent?

pmaster

New Member
My question may be stupid, but i want to clear my doubt.I am php, mysql developer.While coding one of table requires objects from class A for each row.Say it will create no of objects based on of row. Is this concept is inconsistent ?\[code\]Class A{function __construct($userid){}}class B{function action_add($userid){}}\[/code\]Therefore Class A needs to create each object for every row of table.Class B require one object for a table.Question 1Using class A (many objects) is inconsitent ?Question 2In two classes which is best.help me out !Thanks in advance.
 
Back
Top