|
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
Navigation:
[Reply to this message]
|