hallo,
mit
	
bastel ich mir ein array, der string in $hidden_locations sieht zum beispiel so aus:
	
wenn ich nun mit foreach das array durchlaufen will, läuft er immer einmal zu viel durch, das letzte element ist leer!
kommt das evtl davon, dass der string ganz hinten noch ein ';' hat?
thx
					mit
PHP-Code:
	
	
$ar_locations = explode(';',$hidden_locations); 
PHP-Code:
	
	
be6100;es3600;es3800; 
kommt das evtl davon, dass der string ganz hinten noch ein ';' hat?
thx
 
          
 Moderator
 Moderator 
							
						 
							
						
Kommentar