Jump to content
Fórum Script Brasil
  • 0

parentNode.parentNode is undefined


Evandro Araujo
 Share

Question

echo "<table id='tabela' name='tabela' width='800' border='0' cellpadding='4' cellspacing='1' bgcolor='#eeeeee' align='center'>";

echo "<tr>";

echo "<span><label><strong>Pesquisa(Nome):</strong></label>";

echo "<input lang='pt' type='text' style='font-family:arial;font-size:11px;color:#0000FF'";

echo " value='' maxlength='30' id='nome' name='nome' onkeyup ='filtro_colab(this.value,event);'/>";

echo "</span> ";

echo "<td colspan=3> <a href='index.php'>Home </a> || <a href=\"java script:adicionar_data_colab();\">Adicionar </a> || <a href=\"java script:requestInfo('tablecolaboradores.php?mode=list','tablecolaboradores','')\">Atualizar</a>

|| <a href=\"java script:deleta_data_colab($id,this.value);\">Apagar </a>

</td>";

echo "</span>";

echo "</tr>";

echo "<tr>";

echo "<th> Cod. ";

echo "<th> Nome";

echo "<th> E-mail";

echo "</tr>";

$sql ="SELECT *

FROM [ProjFitasW].[dbo].[colaboradores]";

$result = mssql_query($sql); //EXECUTA A QUERY

$num = mssql_num_rows($result);

while($row = mssql_fetch_array($result)){ //ENQUANTO EXISTIR LINHAS FAÇA

$id=$row['Recno'];

$name=$row['nome'];

$email=$row['email'];

echo "<tr bgcolor='#ffffff'>";

echo "<td><INPUT type='checkbox' name='chk'></td>";

echo "<td id='codigo' >$id</td>";

echo "<td>$name</td>";

echo "<td>$email</td>";

echo "<td> <a href=\"java script:altera_data_colab($id);\">Alterar</a></td> ";

echo "<td> <input type='button' Value='Excluir' id='excluir_7' onclick='deleta_data_colab(this);' ></td> ";

}

echo "</tr>";

echo "</table>"; ?>

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Forum Statistics

    • Total Topics
      150.9k
    • Total Posts
      648.7k
×
×
  • Create New...