Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: HTML code returned from a function displayed at wrong place Date: Wed, 24 May 2023 23:18:03 +0200 Lines: 17 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net YA5lHToAaXNLmNX0MyDN7wW7ObWNsdP+X10qirb6nldd0N/qOv Cancel-Lock: sha1:DKhhA1weMVRESIHO0jx1PfWtOiM= Content-Language: de-DE In-Reply-To: Xref: csiph.com comp.lang.php:19482 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