pero noto que cuando no se cumple me da error, este es el include
if($m=='c'){
include ("sr2.php?y=".$cid;"");
}
Este el error:
Parse error: parse error, unexpected ';' in /home/ap.php on line 78
en esa linea lo que tengo es ese include.
Est[a mal?

A proposito, intenté esta combinación
if($m=='c'){
include ("sr2.php?y=$cid");
}
Y me responde con este error:
Warning: main(sr2.php?y=18) [function.main]: failed to create stream: No such file or directory in /home/dombeach/public_html/php/addprofile.php on line 78
Warning: main() [function.main]: Failed opening 'sr2.php?y=18' for inclusion (include_path='') in /home/dombeach/public_html/php/addprofile.php on line 78
Cómo lo hago bién.




