Reply to Re: function within echo"";

Your name:

Reply:


Posted by Dave Nash on 12/22/06 10:07

On Fri, 22 Dec 2006 08:17:19 +0100, "J.O. Aho" <user@example.net>
wrote:

>Dave Nash wrote:
>> Hi everyone.
>>
>> I am using the following code to call a function within a standard
>> html form.
>>
>> <?php echo fileselect(); ?>
>>
>> This works great, but How do I call the same function with a php coded
>> page
>>
>>
>> example
>>
>> echo" insert function here ";
>>
>> Ive tried many variations but none seem to work
>>
>> thanks guys.
>
><?PHP
>
>/* Simple method with direct output */
>echo fileselect();
>
>
>/* Slightly more advanced with a "delayed" output */
>$string .= fileselect();
>$string .= "\n";
>$string .= fileselect();
>
>echo $string;
>
>/* Use function "inside" a string, direct output */
>echo "someting ". fileselect() ." and something else";
>
>
>?>

I now get this error message.
Warning: session_start() [function.session-start]: Cannot send session
cache limiter - headers already sent (output started at
F:\webserver\2006_11_November\myprofile\includes\global.php:5) in
F:\webserver\2006_11_November\myprofile\includes\auth.php on line 6

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация