php-general Digest 11 Dec 2011 13:39:50 -0000 Issue 7606

Topics (messages 315969 through 315970):

Re: offline practice
        315969 by: Govinda

Re: OOP problems
        315970 by: Dominik Halvoník

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
> i have learned a bit to work php-mysql but i want to practice to know
> more.at this moment i only can do primary works.creating users,inserting
> data,viewing very simple reports.i want to practice any sample php_mysql
> site offline.any help please.
> thanks

Please formulate a specific question.  
What exactly do you need help with?  

Are you asking for suggestions as to how to further your study?  
If so, I suggest assigning yourself a real live project.  Make a website that 
you would enjoy.  Or make a website for a friend that they need.  If you are 
asking something else, please make it more clear.

-Govinda

--- End Message ---
--- Begin Message ---
Hi guys,

I try to applied your solutions but I have problems whit it. I need to
achieve this schema( ->  is something like ../ it means that it is one
level up folder):

connec.php(class Connect MySql)->
select.php(class Select MySql) ->
....                                             -> mysql.php(class MySQL
include all classes, Connect...)->
....                                             ->
...                                              ->

                                                                  ->
db.php(class db include all classes, MySQL, Oracle..)
 connec.php(class Connect Oracle)->
select.php(class Select Oracle ) ->
....                                             ->  oracle .php(class
Oracle include all classes, Connect...)->
....                                             ->
...                                              ->

download.php(class Download)->
unzip.php(class Unzip) ->
....                                             -> files.php(class Files
include all classes, Download...) -> file.php(class file include class
Files)
....                                             ->
...                                              ->

hash.php(class Hash)->
capcha.php(class Capcha) ->
....                                             -> secure.php(class Secure
include all classes, Hash...) -> security.php(class security include class
Secure)
....                                             ->
...                                              ->
*ect. ect. ect.  ect. ect. ect. ect. ect. ect. ect. ect. ect. ect. ect. ect.
*

And in the end, in the same folder as db.php and security.php I will have
file application.php which will contain class application and in its
__construct() method I will make link classes db, security, file ect. ect.
So I will just include file application.php make object from class
application and then just do $object->db->connect()(of course if it will by
MySql or other database will be stored in some config.php file).

Thanks,

Dominik

--- End Message ---

Reply via email to