PHP Programming > Beginners - Learning PHP
Extra page printed out
DBestViper:
Took me a second to see the problem there, first I thought it might have been the width that may be trying to print to the next page, so I added text to the bottom of the page and the text printed on the second page.
Then I set my eyes on "<P class=break>:</p>" There lies the problem. Wherever your code is echoing that into the page, it needs to be removed.
Bobby
Shrubwater:
I noticed it in two places, near the bottom, and up near the top. The one near the top is in the style sheet. do both of them have to go, or just the bottom one?
Also, how were you able to take the code and test print it out? I would love to test this off line but I don't know how to do it.
Thanks so much for the help.
EDIT:
I deleted the lower line code you mentioned and I renamed the file and then I boosted it up on my website, printed it out, and it WORKED!!!! No second page!!!!
Thanks again for the help. You made my day!!!!!
DBestViper:
Glad I could help out
Shrubwater:
Out of curiosity - do you use an off line editor to test your code? I haven't really found one that works great, and I'd like to be able to work off line and test pages, for both PHP and html. Having to upload everything to test it is so time consuming.
DBestViper:
Well, most of the time I am not working from home. During those times I personally just make my changes and upload everytime. I like having two copies of everything during the working process, in case I mistakenly mees up a file and don't notice till after I save, then I can just download from the server. Otherwise I just have my screen split so I just drag the files over while making my changes. It doesn't take me long on my connection, and it doesn't bother me. When I am home though I have PHP installed on my system so I can run from there.
I do know that most editors like dreamweaver allow you work directly from the server and/or a test server during production. I just prefer to use notepad. Haven't really found another editor that I like.
But that's just me. I am sure others here can provide you with many more options that may fit your needs.
Bobby
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version