Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: [PHP-DB] php and tables
1st Get your SQL to ORDER BY points DESC
2nd use PHP to get the details on row at a time and display the results
in an HTML table.

The specifics will depend on what your table looks like, for example if
you don't have a points column then you may need to get SQL to calculate it.

graeme.

Vikas Nanda wrote:

>Hi
>
>I am new to php and mysql and am having a few problems that I hope someone 
can help with.
>
>What I am trying to do is to display ratings for particular teams using som
e basic code. I needed to print the information out on a table with the high
est average at the top and then ascending. I have all this info stored in a 
mysql db.
>eg
> TEAM        PLAYED  WIN   LOSS   DRAW  POINTS   AVERAGE
>ENGLAND     16           6         6          4          16              1.
00
>
>I don't know how to print variables out in a table and I don't know how to 
make it ascending.
>
>Any help would be much appreciated.
>
>Thanks
>
>Vikas
>
>Send instant messages to your online friends http://uk.messenger.yahoo.com
>
>

--
Experience is a good teacher, but she sends in terrific bills.

Minna Antrim

Report this thread to moderator Post Follow-up to this message
Old Post
Graeme
04-18-05 08:56 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP DB archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:20 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.