yes of course, you know your own anser :)

some_class.egn
<?php
  class some_class
  {
    // ...
  }
?>

index.php
<?php
  include_once('some_class.egn');
  // ...
?>

--

  Chris Lee
  [EMAIL PROTECTED]


"Jack" <[EMAIL PROTECTED]> wrote in message
021b01c108b1$ec596640$[EMAIL PROTECTED]">news:021b01c108b1$ec596640$[EMAIL PROTECTED]...
Exactly what the title said, I have a class file, name credit_card.pkg, how
do I include that into another php page? The same way we do with normal
include file?
Jack
[EMAIL PROTECTED]
"Love your enemies, it will drive them nuts"




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to