What is the best method for only having to create one object then use that object over without having to call new each time I access a new table.
Pass the $dbh to each new()?
You might also want to look at dependency injection techniques, see IOC for one way to go about them.
In reply to Re^3: How can I avoid creating two instances of the same object
by adrianh
in thread How can I avoid creating two instances of the same object
by beachguy82
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |