Revision 625
Added by thorn almost 18 years ago
| text.php | ||
|---|---|---|
| 58 | 58 |
// get answer |
| 59 | 59 |
$s=next($content); |
| 60 | 60 |
$s=trim(rtrim(rtrim($s,"\n"),"\r")); // remove newline |
| 61 |
if($s{0}!='!') continue;
|
|
| 61 |
if(isset($s{0}) && $s{0}!='!') continue;
|
|
| 62 | 62 |
$a=substr($s,1); |
| 63 | 63 |
$qa[$lang][$q]=$a; |
| 64 | 64 |
next($content); |
| ... | ... | |
| 87 | 87 |
|
| 88 | 88 |
echo $k; |
| 89 | 89 |
|
| 90 |
?> |
|
| 90 |
?> |
|
Also available in: Unified diff
fixed possible E_NOTICE-warning