Re: Formatting text output
| From: | Justin French | Date: | Thu, 26 Dec 2002 01:29:52 +0000 |
| Subject: | Re: Formatting text output | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-129338@lists.php.net to get a copy of this message | ||
What does the database table(s) look like?
I don't understand what '0045' and '2354' are -- are they student
no's?
Better questions get better answers :)
Justin
on 26/12/02 12:03 PM, menezesd (menezesd@singnet.com.sg) wrote:
> Hello friends.
>
> I work for a school where we need to put the class results on to our web, one
> for every class. We enter the marks in the database and this should be
> displayed in a particular varying format as follows(an example) :
>
> Grade A Pass :
> 4554 7687 9834 2354 7671
>
> Grade B Pass :
> 0045 7612 2297
>
> Failed :
> 3104 6509 0286 8765 2229 0978
>
> How can I put this in Mysql and get the same test formatting out? If the grade
> types where standard and limited, it was okay. But the grades types can
> increase or decrease. How can I maintain the same formatting as what I input?
>
> Thanks very much
> Denis