#mysql - Sun 18 Mar 2007 between 03:53 and 04:03

NY Lost Funds



chadmaynard'.$row['col1'].'</td><td>'.$row['col2'].'</td><td>'.$row['col3'].'</td>';
oh
GoSoxthere is only one column in the mysql result
i want to take the straight line and zig zag it
chadmaynardthen your PHP should do some modulus division
GoSoxyeah that sounds like the opposite of fun :-)
i was hoping there was some really easy way i was missing
chadmaynardnope
GoSoxany functions to select multiple rows of your mysql data set at a time?
chadmaynardyea you could select three at a time
GoSoxthen build the table one row at a time
oh wait
no what i meant (not sure if you mean the same) is that once you run a mysql query, is there a php function that can fetch multiple rows of data from your mysql data set
chadmaynardoh no you could select all the rows into an array then loop through them 3 at a time
GoSoxcan you elaborate on that? i'm just a hair below the amount of brain power you need to comprehend that...
:-P
Adam1213i have a way to do it chadmaynard
chadmaynarddo what?
Adam1213put the results into a table
chadmaynardok well tell GoSox
GoSoxyes
please
chadmaynardhe'll be excited
GoSoxyes
sexually
Adam1213but what do you want the table to look like ($a being row)
A1 A2 A3
B1 B2 B3
bah
the letter being the variable $row
GoSoxi have a multi row, single column mysql table, say its 1,2,3,4,5,6,7,8,9 and i want to put it into a 3 row html table via php, so like
1,2,3
4
Adam1213while($row=mysql_fetch_array($result)) { echo '<td>
GoSoxack
3x3 html table
chadmaynarddid he copy me?
GoSoxyeah
and
its not even an answer

Page: 5 12 19 26 33 40 47 54 

IrcArchive

NY Lost Funds