Re: [LIP] Formatting with PHP
Rohan Almeida <[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Organization | Sify Ltd. |
| Message-ID | <[email protected]> |
H S Rai wrote: > I wish to have full control on format (to be outputted as plain text > using combination on PHP and MySQL) like we used to have in Fortran > (like F10.2,2X,E12.3) and printf in C. > > Any pointer, hint or trick will be appricated. > I'm not aware of any php way to do it, but perl definitely allow you control on the format of text. $ perldoc perlform DESCRIPTION Perl has a mechanism to help you generate simple reports and charts. To facilitate this, Perl helps you code up your output page close to how it will look when it’s printed. etc....... Or maybe you can try some templates. Template Toolkit comes to mind. -- Rohan ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click