la pagina php es esta:
<?php
class HelloWorld{
function HelloWorld(){
$this->methodTable = array(
"makeEcho" => array("description" => "Echos the passed argument back to Flash (no need to set the return type)",
"access" => "remote", // available values are private, public, remote
"arguments" => array ("arg1") ), "makeEcho2" => array(
"description" => "Echos the passed argument back to Flash (no need to set the return type)",
"access" => "remote", // available values are private, public, remote
"arguments" => array ("arg1")
)
);
}
function makeEcho($message){
return "Hello ".$message;
}
function makeEcho2($message){
//mysql_query("INSERT INTO `mitabla` ( `id` , `nombre` ) VALUES ('', '$message');
return "Hello again".$message;
}
}
?>
aqui funciona bien tanto makeEcho como makeEcho2 pero si le quito el comentarioa la linea del insert no me devuelve nada ninguno de los dos.
ni idea de lo que puede pasar
