[Cialug] PHP/Web

Matthew Nuzum newz at bearfruit.org
Mon Nov 14 17:44:32 CST 2011


<textarea ...><?php echo ... ?></textarea>

No space between <textarea ...> and the <?php. If you have space there then
it is part of the text area content.

On Mon, Nov 14, 2011 at 5:41 PM, L. V. Lammert <lvl at omnitec.net> wrote:

> Trying to fix some problems with a website, .. it retrieves event data and
> displays on the screen if existing, if new, it displays a template to
> enter Home & Away teams:
>
> <div class="formLabel">Teams</div><div class="formElement">
>  <textarea rows="2" cols="30" name="event_title" id="event_title_game">
>   <?php echo (empty($event_title)?"H: \n    A: \n" : $event_title); ?>
>  </textarea>
> </div>
>
> The text area seems to have a number of spaces preceeding either the data
> or the 'template', and there seem to be no clues how to prevent it.
>
>        TIA,
>
>        Lee
>



-- 
Matthew Nuzum
newz2000 on freenode, skype, linkedin and twitter

♫ You're never fully dressed without a smile! ♫
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cialug.org/pipermail/cialug/attachments/20111114/7d0006a5/attachment.html>


More information about the Cialug mailing list