When I do a window.print, I get page number, page title at the top, and the url at the bottom.
I would like to print without these... only the table which is in my window...
how can I do that?
what does this have to do with php, tho?
i am printing a php page. How can i do in coding.
You can't. It's nothing to do with the server, it is part of the browser software on the client side. You have no control over it.
The best you can do with PHP is add a link to a printable page and have PHP write that page as a PDF so you are in complete control of the layout/format.