Jump to content

Pilot Center not displaing anything


Recommended Posts

When we make login in our website, the page isn't showed, the site is: http://aviancavirtual.tk   user: ONE009 password: testing

 

EDIT1:  I have found the error, is that code:

<?php
          $contabids = SchedulesData::GetBids(Auth::$pilot->pilotid);

    if ($contabids > 0)
		{
			$bidscontados = $contabids(count);
		}
		else
		{
			$bidsconstados =  "0";
		}
	      if($contabids >0){
		?>

What i can change here for correct this error?

Edited by ArthurHetem
Link to post
Share on other sites
  • Moderators
4 hours ago, ArthurHetem said:

$bidscontados = $contabids(count);

 

What do you trying to do in above code? If you're trying to count number of bids then the following is the right code to do it:

$bidscontados = COUNT($countabids);

 

Link to post
Share on other sites

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...