Help with TABLE LAYOUT PLEASE

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 20, 2009   (RSS)

By dsn7287 - April 20, 2009

Hi guys,

Sorry to bother you but I was wondering if you would be kind enough to help me with this... I am pretty sure it a lot less complicated than i think it is... As always any help would be very much appreciated.

Ok basically this is what my page looks like (current.jpg).

I need it to look like (required.jpg)....

The only thing I want to know is how to get my layout to look like that (complete with the column headings [not really fussed bout color, etc right now])

Here is my code ( I only put the display part of it coz I figure thats all thats required yes? Also dont worry bout anything I've set to variables, jus something I'm trying out):

<!-- STEP2: Display Records (Paste this where you want your records to be listed) -->
<h1>Fixtures</h1>
<?php foreach ($fixturesRecords as $record): ?>
<?php $team = $record['team'] ?>
<?php $matchtype = $record['match_type'] ?>
<?php echo date("D, M jS, Y g:i:s a", strtotime($record['date_and_time'])) ?><br/>
<!-- For date formatting codes see: http://www.php.net/date -->
<?php echo $record['home_team'] ?><br/>
<?php echo $record['vs'] ?><br/>
<?php echo $record['away_team'] ?><br/>
<a href="<?php echo $record['_link'] ?>"><img alt="view" src="view.gif" /></a><br/>

<hr/>
<?php endforeach; ?>

<?php if ($fixturesMetaData['invalidPageNum']): ?>
Results page '<?php echo $fixturesMetaData['page']?>' not found, <a href="<?php echo $fixturesMetaData['firstPageLink'] ?>">start over &gt;&gt;</a>.<br/><br/>
<?php elseif (!$fixturesRecords): ?>
No records were found!<br/><br/>
<?php endif ?>
<!-- /STEP2: Display Records -->
Attachments:

current.jpg 49K

required.jpg 42K

Re: [zaba] Help with TABLE LAYOUT PLEASE

By dsn7287 - April 20, 2009

mte thank you so very much! it was a great help! :)