Records as textarea value

3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 3, 2011   (RSS)

By ht1080z - February 2, 2011 - edited: February 2, 2011

Hi,

I search for way to use records in my form as textarea value but after every record i need <br/> to create some styling in the textarea. from html is cannot be done.
i need to show the records before the user submit the form.

Values are:
Model: <?php echo $used_itemsRecord['model'] ?>
Year: <?php echo $used_itemsRecord['year'] ?>
S/N: <?php echo $used_itemsRecord['sn'] ?>

Any suggestion on this?

Re: [ht1080z] Records as textarea value

By Jason - February 3, 2011

Hi,

Try something like this:

<textarea>
Values are:<?php echo "\n";?>
Model: <?php echo $used_itemsRecord['model'] ?><?php echo "\n";?>
Year: <?php echo $used_itemsRecord['year'] ?><?php echo "\n";?>
S/N: <?php echo $used_itemsRecord['sn'] ?> <?php echo "\n";?>
</textarea>


<?php echo "\n";?> outputs a line break character.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/