# Multi Line question

**URL:** https://forum.kirupa.com/t/multi-line-question/173822
**Category:** programming
**Created:** [December 30, 2005, 1:23am UTC](https://forum.kirupa.com/t/multi-line-question/173822 "2005-12-30T01:23:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dreamerp](https://avatars.discourse-cdn.com/v4/letter/d/fbc32d/32.png) [@dreamerp](https://forum.kirupa.com/u/dreamerp)
#### Post date: [December 30, 2005, 1:23am UTC](https://forum.kirupa.com/t/multi-line-question/173822/1 "2005-12-30T01:23:05Z")

</div>

Hey Guys,

Quick question about PHP. I’m making a simple HTML template maker and I am storing the code in a database. People just type in what they want for certain parts. The problem is that the code I entered into the database has variables in the code- Something like \<table\>\<tr\>\<td\>$maintext\</td\>\</tr\>\</table\> .  
So the variables are being passed and passed and eventually are printed in a multi line but instead of printing the variables they have been entering (let’s say $maintext=“Welcome to the home page!”; it doesn’t say “Welcome to the home page” in the multi line, it just puts $maintext still. And, I know the variables are working because they are printed on the page.

Please help,

peter
