Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP Databases
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
PHP Databases Using PHP in conjunction with databases. PHP questions not specific to databases should be directed to one of the other PHP forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 30th, 2011, 11:55 PM
Authorized User
Points: 75, Level: 1
Points: 75, Level: 1 Points: 75, Level: 1 Points: 75, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2009
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
Default arrange table

Hello,

I have a table like this as below,

ECE - Mark
ECE - Kris
ECE - Chris
EEE - Ben
EEE - Chris
CSE - Marc
CSE - Math
CSE - Sara

I want to arrange this table as below using php code

ECE EEE CSE
Mark Ben Marc
Kris Chris Math
Chris Sara

how do I achieve this using php code, please help
__________________
divinequran.com
Reply With Quote
  #2 (permalink)  
Old March 26th, 2012, 02:35 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hi

ECE EEE CSE
Mark Ben Marc
Kris Chris Math
Chris Sara

<?php

echo"<table><tr><td>ECE</td><td>EEE</td><td>CSE</td></tr>
<tr><td>Mark</td><td>Ben</td><td>Marc</td></tr>
<tr><td>Kris</td><td>Chris</td><td>Math</td></tr>
<tr><td>Chris</td><td>Sara</td><td></td></tr></table>";

?>


try it
Reply With Quote
  #3 (permalink)  
Old April 22nd, 2012, 02:45 AM
Authorized User
Points: 75, Level: 1
Points: 75, Level: 1 Points: 75, Level: 1 Points: 75, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2009
Posts: 16
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks, I have got the result.
__________________
divinequran.com
Reply With Quote
  #4 (permalink)  
Old July 6th, 2012, 02:16 AM
Registered User
Points: 9, Level: 1
Points: 9, Level: 1 Points: 9, Level: 1 Points: 9, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

Hello Everyone,,

I am ghanistha123

Pls Help me How to arrange this table??

Thanxs and help me..
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem understanding how to arrange the project alexanderH BOOK: ASP.NET Website Programming Problem-Design-Solution 6 January 28th, 2007 11:50 PM
Arrange dynamic cells... Roshu Javascript How-To 1 January 11th, 2005 05:55 AM
can u arrange .net cds gvcc_neel .NET Framework 2.0 2 December 21st, 2004 08:17 AM
can u arrange .net cds it is emergency gvcc_neel .NET Framework 2.0 1 December 18th, 2004 12:20 PM
how to arrange elements group wise. srini XSLT 0 February 4th, 2004 04:17 AM



All times are GMT -4. The time now is 11:31 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.