Jump to content

Recommended Posts

  • Members
Posted

I am creating an acars for our VA and my question is

I have created a new module as per API but how do i remove the banner and the pilot info so it returnes a single line ?

By example

<?php
require_once($_SERVER['DOCUMENT_ROOT'] . '/phpvms/core/codon.config.php');
class APV extends CodonModule
{
 public function pageone($fruit='', $orange='')
 {
 echo "The fruit is an {$fruit} and the color is {$orange}";
 }
 public function pagetwo()
 {
 echo "The fruit is an {$this->get->fruit} and the color is {$this->get->orange}";
 }
}

what i mean that in my browser i need only the fruit is an apple and the color is green without any visuals

Thanks

Posted

I guess with so many likes many people would like to see a new client :)

BTW problem is solved

I wouldn't say that considering they're basically bots.

Jon

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