ArthurHetem Posted September 25, 2017 Report Posted September 25, 2017 (edited) 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 September 25, 2017 by ArthurHetem Quote
Moderators Parkho Posted September 25, 2017 Moderators Report Posted September 25, 2017 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); Quote
Moderators shakamonkey88 Posted September 25, 2017 Moderators Report Posted September 25, 2017 Also, I am not sure that "crewcenter" will work well the way you have installed it. I think there are a few important reasons why the install instructions specially state that it must be installed on a separate subdomain. Quote
ArthurHetem Posted September 29, 2017 Author Report Posted September 29, 2017 On 25/09/2017 at 4:55 AM, Parkho said: 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); Thank you, its working fine Quote
LukeW Posted September 29, 2017 Report Posted September 29, 2017 Yeah CrewCenter is designed to be used on a separate subdomain as Parkho said this code is how to count bids Glad to hear it is all working now $bidscontados = COUNT($countabids); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.