|
-
Jun 23rd, 2009, 08:54 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] php class question, clarification before coding
Code:
<?php
class verify{
$db = ... db connection stuff
function get_suff(){
}
function get_other_stuff() {
}
}
If I define a db connection above the functions in a class is that db connection available in all the functions in the class?
-
Jun 23rd, 2009, 09:51 PM
#2
Re: php class question, clarification before coding
-
Jun 23rd, 2009, 10:08 PM
#3
Thread Starter
Hyperactive Member
Re: php class question, clarification before coding
Thanks dude, trying to avoid the official php sites as quite often they confuse stuff even more
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|