Ir para conteúdo
Fórum Có
Entre para seguir isso  
Andre Zancan


Recommended Posts

nao lista as colunas do meu xml

alguem sab como faz :s ?


$xml = simplexml_load_file("xml.xml");

for($i=0; $i < count($xml->boletim); $i++) {

echo '<tr><td>'.$xml->nome[$i]."</td>";

echo '<td>'.$xml->portugues[$i].'</td>';

echo '<td>'.$xml->matematica[$i].'</td></tr>';

echo '<td>'.$xml->ciencias[$i].'</td>';



//aqui eh o arquivo xml



















Compartilhar este post

Link para o post
Compartilhar em outros sites

Join the conversation

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


×   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.

Entre para seguir isso  

  • Criar Novo...