View Single Post
Old 12-13-2012, 12:52 PM   PM User | #3
mharrison
New Coder

 
Join Date: Dec 2012
Posts: 52
Thanks: 12
Thanked 0 Times in 0 Posts
mharrison is an unknown quantity at this point
Quote:
Originally Posted by poyzn View Post
PHP Code:
$result = mysql_query("SELECT * from patterns WHERE cattxt = 'Wreaths' ORDER BY dsptxt"); 
?><table><?
while($row mysql_fetch_array($result)) 

   
?><tr><td><?= $row['lnktxt'?></td><td><?= $row['dsptxt'?></td></tr><? 

?></table>
While this does break up data into two columns, it also breaks my links so I have the URL on one side and the display text on the other, so not really what I am looking for. But thank you for helping.
mharrison is offline   Reply With Quote