Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #19482

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

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: HTML code returned from a function displayed at wrong place
Date 2023-05-24 23:18 +0200
Message-ID <kd7d8bF1cfjU1@mid.individual.net> (permalink)
References <e7f94425-d8b4-4161-81e3-8bb26c599068n@googlegroups.com>

Show all headers | View raw


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

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

HTML code returned from a function displayed at wrong place Joe <juliani.moon@gmail.com> - 2023-05-22 18:54 -0700
  Re: HTML code returned from a function displayed at wrong place "J.O. Aho" <user@example.net> - 2023-05-23 08:30 +0200
  Re: HTML code returned from a function displayed at wrong place Arno Welzel <usenet@arnowelzel.de> - 2023-05-24 23:18 +0200
  Re: HTML code returned from a function displayed at wrong place Kristjan Robam <kristjanrobam1983@outlook.com> - 2023-10-14 03:59 -0700

csiph-web