| 
| Subject: | Else is incorrect private function... | 
|---|
 | Summary: | Package rating comment | 
|---|
 | Messages: | 2 | 
|---|
 | Author: | RicardoSaracino | 
|---|
 | Date: | 2011-03-30 17:44:06 | 
|---|
 | Update: | 2012-05-12 22:54:37 | 
|---|
 |  |  |  | 
RicardoSaracino rated this package as follows:
| Utility: | Not sure | 
|---|
| Consistency: | Not sure | 
|---|
| Documentation: | Not sure | 
|---|
|  | 
  RicardoSaracino - 2011-03-30 17:44:07Else is incorrect 
 private function addQuotes($word, $doublequotes = true){
 
 if($doublequotes){
 
 $pword = '"'.$word.'"';
 }else{
 $pword =  "'".$pword."'";
 }
 
 return $pword;
 
 }
  Nicholas Oliveira - 2012-05-12 22:54:37 - In reply to message 1 from RicardoSaracino |