No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi I'm trying to use the functions/methods of one class inside another, however I keep getting errors and I don't understand this... for example; [CODE=PHP] class DB { private $host; private $user; private $pass; private $database; public function __construct($host, $user, $pass, $database) { ... } public function query($sql) { ... … | |
Hi I'm really puzzled on this one. I'm sending data from a form to be written on a line inside a file. However I've tested this a few times now and occasionally the line will end early when writing and it really messes things up due to another process depending … |