Re: HTML code returned from a function displayed at wrong place

Arno Welzel <[email protected]> Wed, 24 May 2023 23:18:03 +0200
Newsgroups comp.lang.php
Message-ID <[email protected]>
Joe, 2023-05-23 03:54:

> I have a php function to return an array of 3 values: 
> 1- a status code 
> 2- a small HTML form --OR-- a text string
> 3- a text string

Code? Or do we have to guess how the functiony may look like?

> I am frustrated by the PHP behavior when a HTML form is returned on value 2 of the array - it gets displayed where the function is called, NOT where I tried to place it on latter part of the page.  Any work-around ideas please?

Without seeing the code of the function itself nobody can help you.

-- 
Arno Welzel
https://arnowelzel.de