Jump to content

Recommended Posts

Posted

Hi,

On my bids page im getting the following, rather than my list of bids:

$bid->flightnum; ?> depicao; ?> to arricao; ?> aircraft; ?> (registration?>) deptime;?> arrtime;?> distance;?>

Is there any known fix for this? (Using latest beta)

  • Administrators
Posted

It seems like you're using short php tags (<? instead of <?php), and maybe they got turned off on your server or a configuration setting changed

  • Administrators
Posted

line 29

<td><?php echo $bid->code . $bid->flightnum; ?></td>

change to:

<td><?php echo $bid->code .' '. $bid->flightnum; ?></td>

Think that should fix you up

  • Administrators
Posted

line 26 as well

<tr id="bid<?php echo $bid->bidid ?>">

add semi colon

<tr id="bid<?php echo $bid->bidid; ?>">

also eariler post should have reffered to line 27 not 29 - sry

also

also on line 29

<tr id="bid<?php echo $bid->bidid ?>">

add semicolon

<tr id="bid<?php echo $bid->bidid; ?>">

  • Administrators
Posted

OK - The issue is at the start of the file - the echo never gets closed and you reopen php again without closing it. Hang on  and I will pastebin a new one.

  • Administrators
Posted

Ah yes, at the top of the file as well

<?php
if(!$bids)
{
   echo '<p align="center">You have not bid on any flights</p>';
} else { 
echo '

Should be

<?php
if(!$bids)
{
   echo '<p align="center">You have not bid on any flights</p>';
}
?>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...