you might like to check out http://php.net/include/

also, the rest of the php manual is pretty good.

simon

On Sep 17, 3:22 pm, Unite <[EMAIL PROTECTED]> wrote:
> Heres the problem I have file 1 with PHP code :
>
> File1.php
> <?php
> echo "hello";
> echo "how";
> echo "are you";
> inject File2.php   //insert the php code from file 2
> echo "on this";
> echo "fine day?";
> ?>
>
> File2.php
> echo "Wade";
>
> /**************************************/
> So out put when you load file1.php looks like this
> hello
> how are you
> wade
> on this
> fine day
>
> if this can be done instead of file 2 ill have a blog from a db code
> that just gets inserted.
> so can this be done and how?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to