[Fwd: Re: File writing]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Reaves wrote:
>
> Group,
>
> I am trying to write a script to create in include file. I can not get the
> output correct to add the <?php opening tag. Here is my code. What am I
> doing wrong?
>
> $information = "<?php";
>
> $information = $information. "\$host=' $server'; \n";
>
> $information = $information. "\$user=' $user';\n" ;
>
> $information = $information. "\$pwd='$ pwd';\n";
>
> $information = $information. "\$dv='$db' ;\n";
>
> $information = $informtaion. "?>";
>
> If I leave off the first line, everything works okay.
>
> Thanks for your help.
>
> Michael J. Reaves, MS, MCP
>
> Project Specialist
>
 Go to www.php.net/chr

 See what this can do for you.
 
 Certainly can help you.

 Regards


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux