Jump to content

Place a Tab in Between Data


hanlonj

Recommended Posts

Hi,

 

I have a number of lines of code which display information to the screen.

 

<code>

 

$msg .= "Name :    $name \n";

$msg .= "Address :    $address \n";

 

</code>

 

I want to be able to put tabs in between the "Name" and "$name" so I can align all the data in a column to look easier on the eye. How do I do this? I think it's something like "/t" but i'm not sure.

 

hj

 

Link to comment
Share on other sites

Thanks guys.

 

Another thing, I have all my form fields stored in variables and they are all being passed to my processor file except for one. It's  a "text area" and when I echo it, it displays blank. It is inside the form and variable names are correct. I cannot figure this out. Is there anything different about text areas?

 

hj

Link to comment
Share on other sites

a textarea is just another input. If it does not appear to be passed along, there's something wrong with your code (variable names duplicated, variable names mismatched, data display code error, etc.). Hard to fix what we can't see.

Link to comment
Share on other sites

a textarea is just another input. If it does not appear to be passed along, there's something wrong with your code (variable names duplicated, variable names mismatched, data display code error, etc.). Hard to fix what we can't see.

 

Thanks.Uppercase/lowecase conflict. sorted now.

 

hj

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.