Jump to content

Text Boxes and Printing


OriginalSunny

Recommended Posts

Hi,
I am creating a template using PHP for an invoice. I would use HTML if its easier as i dont need to get any information from my database. I can output the correct things required for the template, however i want to be able to open the invoice in my localhost and have the template come up with a space which will allow a user to type into. e.g Some sort of text box would be sufficient to do this, however i may also want the text box outer line to be invisible. Does anyone know how i could do this using php??

I also want to be able to print the invoice so if you know what code i need to do a print in php please inform me.
Thanks.
Link to comment
Share on other sites

this is a style issue - you would be better off giving the text box a class or id attribute and defining its appearance in a style sheet. As for printing what people have entered in there I would post that information to another page and lose the textbox - they only print the visible area of the textarea element so If you have one on your form its best to not try and print it out.
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.