Is it possible to create a php page with labels on them 3 width and 6 heigh, and putting info from a MySQL database on them, so users can print labels right from the net??
Anything you can output to the browser, your users can print. Printing from a web browser is problematic, though. No two browsers print a web page the same way.
Since it is more of a html question, designing the labels, note that with CSS you can use all sorts of units (e.g. centimeters, inches) so making a label shouldn't be so hard with that.
Check this thread for more info on html:
thread215-670782 you get the proper html outlook for one label you just loop the others.
I get the hang of css, and I can place a label like I want it to appear. Now I think I have to loop the records with a repeat region, but I don't know how I can get them placed in the right way (3 by 7).
In other words, one label is perfectly ok, but how do I place the others???
Maintain a counter which keeps track of how many columns you have output in your table. When that counter gets to the number of columns you want to output, you start a new table row and reset the counter.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.