Ver Mensaje Individual
  #20 (permalink)  
Antiguo 13/05/2008, 04:22
ferranWEB
 
Fecha de Ingreso: enero-2002
Mensajes: 1.872
Antigüedad: 22 años, 4 meses
Puntos: 3
Re: Ayuda con sentencia if...

buenas, he hecho lo siguiente:

Código:
$cp_1 = array (28003 28035 28250 28390 28602 28692 28794 28919 28939 28004 28039 28260 28391 28607 28693 28798 28920 28940 28005 28040 28270 28400 28609 28694 28900 28921 28941 28008 28041 28280 28409 28610 28695 28901 28922 28942 28010 28044 28290 28410 28620 28696 28902 28923 28943 28011 28047 28293 28411 28630 28720 28903 28924 28944 28012 28048 28294 28412 28640 28737 28904 28925 28945 28013 28049 28295 28413 28647 28739 28905 28926 28946 28014 28210 28296 28420 28649 28740 28906 28927 28947 28015 28212 28300 28430 28650 28741 28950 28909 28930 28019 28213 28311 28440 28660 28743 28911 28931 28960 28020 28220 28320 28450 28668 28749 28970 28912 28932 
28023 28223 28330 28460 28669 28760 28913 28933 28971 28024 28224 28340 28470 28670 28761 28914 28934 28978 28025 28229 28350 28490 28679 28770 28915 28935 28979 28026 28230 28359 28491 28680 28780 28980 28916 28936 28029 28233 28360 28492 28690 28791 28917 28937 28986 28034 28240 28380 28600 28691 28792 28918 28938 28991);

		$arrayCP1 = split(" ",$cp_1) ;

		if (in_array ($cp,$arrayCP1)){
$para[0] ="[email protected]";}
y me da el siguiente error:

Parse error: syntax error, unexpected T_LNUMBER, expecting ')' in /home2/ on line 193 y en esa linea tengo:

$cp_1 = array (28003 28035....

que hago mal?

saludos