Hola tengo que pasarle parametros a esta funcion, los parametros son una tabla hamtl, pero hay partes donde tiene php y no sé como es la sintaxis:
    Código PHP:
    $paginaInicio->PublicarRed(
  
  "<form action=\"guarda_en_db2.php\" method=\"post\" name=\"f\">
    
 
 
    
        <div align=\"left\">
          <table width=\"320\" height=\"94\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
            <tr>
              <td width=\"389\" height=\"90\">
                      
                  <table width=\"320\" height=\"206\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
                    <tr>
                      <td height=\"23\" colspan=\"2\" class=\"Estilo2\" ><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
                        <tr>
                          <td width=\"3%\" align=\"left\" valign=\"top\" background=\"Dibujo12_03_05.png\"><img src=\"Dibujo12_03_03.png\" width=\"6\" height=\"24\" /></td>
                        <td width=\"95%\" background=\"Dibujo12_03_05.png\"><div align=\"center\" class=\"Estilo15\">"
    
                        
echo $GLOBALS["PublicarRedes"];
                        
                         "</div></td>
                        <td width=\"2%\" align=\"right\" valign=\"top\" background=\"Dibujo12_03_05.png\"><img src=\"Dibujo12_03_07.png\" width=\"6\" height=\"24\" /></td>
                      </tr>
                        </table></td>
                    </tr>
                    <tr>
                      <td height=\"23\" bgcolor=\"#E7E7E7\" class=\"Estilo2\" ></td>
                      <td bgcolor=\"#E7E7E7\"></td>
                    </tr>
                    <tr><td width=\"90\" height=\"23\" bgcolor=\"#E7E7E7\" class=\"Estilo2\" ><div align=\"center\" class=\"Estilo19\">"
                    
 echo $GLOBALS["Red"];
                    
                    
                    
                    
                     "</div></td>
                      <td width=\"232\" bgcolor=\"#E7E7E7\"><div align=\"left\">"
                      
                      
$url="http://trombonete.0fees.net".$_SERVER[REQUEST_URI];
                      
                      
"<input name=\"url\" type=\"hidden\" value=\"echo $url;\" />
                      
                      
                        <input name=\"red\" id=\"label2\" size=\"20\" type=\"text\" />
                    </div></td> </tr>
                    <tr><td height=\"23\" bgcolor=\"#E7E7E7\" class=\"Estilo2\"><div align=\"center\" class=\"Estilo19\">"
                    
                    
                    
echo $GLOBALS["Pass"];
 
 
 
 
                    "</div></td>
                      <td bgcolor=\"#E7E7E7\"><div align=\"left\">
                        <input name=\"pass\" id=\"pass\" size=\"20\" type=\"text\" />
                    </div></td></tr>
                    <tr><td height=\"23\" bgcolor=\"#E7E7E7\" class=\"Estilo2\"><div align=\"center\" class=\"Estilo19\">"
 
echo $GLOBALS["TuNombre"];
 
                    "</span></div></td>
                    <td bgcolor=\"#E7E7E7\"><div align=\"left\">
                      <input name=\"nombre\" id=\"label2\" size=\"20\" type=\"text\" />
                      </div></td>
                    </tr><td height=\"23\" bgcolor=\"#E7E7E7\" class=\"Estilo2\"><div align=\"center\" class=\"Estilo19\">"
                    
                    
echo $GLOBALS["Pais"];
 
 
                    "</div></td>
                    <td bgcolor=\"#E7E7E7\">
                    <div align=\"left\">"
                    
                    
                    
                    
$this->FormularioPais();
 
 
 
 
 
 
                      "</div></td></tr>
                        
                        
                    <tr><td colspan=\"2\" bgcolor=\"#E7E7E7\">
                          
                      <div align=\"center\">"
 
 
 
$this->FormularioJuegos();
 
 
 
 
 
 
                    "</div></td></tr>
                    <tr><td height=\"23\" colspan=\"2\" bgcolor=\"#E7E7E7\">
                      <div align=\"center\">
                        <input name=\"b32\" value=\"Click\"  type=\"submit\" style=\"border-bottom-color: #740075; background-color: #6699CC\" />
                    </div></td></tr>
                    
                    <tr>
                      <td height=\"8\" colspan=\"2\" valign=\"bottom\" bgcolor=\"#E7E7E7\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
                        <tr>
                          <td align=\"left\" valign=\"bottom\" background=\"fondo.png\"><img src=\"Dibujo12_03.png\" width=\"6\" height=\"7\" /></td>
                          <td align=\"right\" valign=\"bottom\" background=\"fondo.png\"><img src=\"Dibujo12_04.png\" width=\"6\" height=\"7\" /></td>
                        </tr>
                      </table></td>
                    </tr>
            </table>              </td></tr>
          </table>
        </div>
      </form>"
  
  
  ); 
    
  Así , tal como está no me funciona, alguien me puede decir si tengo que agregar comillas o poner puntos o como lo escribo.... Me estoy volviendo locoooooo....  
desde ya gracias