Created
March 7, 2012 00:52
-
-
Save alex-zige/1990174 to your computer and use it in GitHub Desktop.
php:carcompany
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($this->ReList == 1 && $this->PAltID==""){ | |
// if the relist button been clicked at same time no PALT saved; | |
$this->AltID = (isset($this->vin))? substr($this->vin,-6).rand(100,999) : "Error"; | |
$this->PAltID=$this->AltID; | |
} | |
elseif($this->ReList == 1 && $this->PAltID!="") | |
{ | |
}else if ($this->ReList == 0 && $this->PAltID!="") | |
{ | |
//when altID has been set | |
$this->AltID =""; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment