Jump to content


This topic is now archived and is closed to further replies.


Text Boxes and Printing

Recommended Posts

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.

Share this post

Link to post
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.

Share this post

Link to post
Share on other sites


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.