Jump to content


Photo

LER XML E CRIAR TABELA COM CORES USANDO PHP.

XML PHP

  • Faça o login para participar
22 replies to this topic

#1 josandss

josandss

    Novato no fórum

  • Usuários
  • 2 posts
  • Sexo:Masculino
  • Localidade:Maceio

Posted 27/09/2017, 16:32

Boa tarde a todos! Espero que os amigos possam me ajudar, estou querendo criar uma página PHP ou html com uma tabela que será alimentada por um arquivo xml a cada 15min. Como exemplo podemos fazer uma tabela 2x2 onde na linha 1(L1) vai estar a legenda fixa "Cidade1" e na coluna 1(C1) vai estar a legenda fixa "LED OFF/Standby". Na linha 2(L2) vai estar a legenda fixa "Cidade2" e na coluna 2(C2) vai estar a legenda fixa "LED High Voltage Status". O que eu preciso que, quando no XML estiver com o campo <state description="LED OFF/Standby" value="ON"/> a célula L1C1 da tabela fique verde, quando "OFF" fique vermelha...e assim sucessivamente para outras células que eu venha a adicionar. Os amigos entenderam? Poderiam me ajudar, estou com a cabeça fervilhando, pois não sou muito astuto em programação. Abaixo mostro parte do meu arquivo XML:
 
<?xml version = "1.0" encoding = "UTF-8"?>
<sensor = "2000" datetime="20170920155654" type="2" id="MM1" name="MM1">
    <subsystem name = "basics">
       <state description="LED off/standby" value="ON" id="lamps"/>
       <state description="LED high voltage status" value="OFF" id="radiation"/>
 
Muito grato desde já!


#2 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 30/09/2017, 03:13

Cialis Diario Espana Commander Viagra En Ligne cialis Acquista Propecia 5 Alfa Reduttasi Prix Officiel Cialis Pharmacie
Proscar Order Best On Line Pharmacy cialis Cytotec Ivg Acheter Cialis Avis Keflex Allergic Reactions
Cephalexin Prescribed For cialis Cephalexin To Treat Bronchitis Online Deltasone Cheap
Buy Sildenafil cialis price Viagra Apotheke Zurich Genuine Viagra For Cheap Are Canadian Viagra Sold Online Safe?

#3 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 02/10/2017, 03:50

Sildenafil Mastercard Cialis Generique Europe buy viagra online Generic Zithromax
Comprar Levitra En Andorra Can I Get Cymbalta In Mexico Achat De Viagra Forum viagra Soft Tabs Cialis Propecia Inhaltsstoffe
Ou Acheter Du Viagra En Suisse Lortab Dental Antibiotic Amoxicillin dove acquistare levitra sicuro Dosing For Amoxicillin 500mg Propecia Covered By Insurance

#4 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 13822 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 09/10/2017, 07:05

Cialis Viagra Dosage Propecia Success Rate Hair Loss Treatment cialis Buying Anti Botics On Line Levitra Erezione
Letrozole Without Prescription Will Amoxicillin Help Kennel Cough Where To Buy Viagra In Beijing generic viagra Baclofen 10mg

#5 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 09/10/2017, 13:44

Worldwide Cheapeast Dutasteride Duagen Buy Oklahoma Buy Viagra Line Clomid 100g Effets Secondaires levitra plus Rx Pharmacy World Keflex Expansion Compensators Where To Buy Cialis On Line?
Buy Generic Valtrex Canada cheap cialis Comprar Priligy Por Internet
Comprare Cialis Con Paypal viagra Cheapest Price For Cialis Amoxicillin
Best Buy Stendra Direct With Free Shipping Propecia Low Price Canadian viagra Amoxicillin Side Effect
Foro Cialis Vs Viagra cialis Doxycycline Cash Delivery Overseas Amoxicillin And Mono

#6 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 09/10/2017, 14:50

Metformin And Cephalexin Interaction Cialis Viagra Verkauf Propecia Graduatoria online pharmacy Viagra Prescription Cialis 10 Mg Funziona Dutasteride From Canada Free Shipping

#7 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 09/10/2017, 18:36

Precio De Cialis En Andorra Generic Priligy Kaufen viagra Canadianmeds24h
Como Comprar Cialis En Espana Propecia Kaina online pharmacy Side Effects Of Amoxicillin In Infant Comment Faire Pour Obtenir Priligy

#8 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 04/11/2017, 20:37

Funciona El Viagra Levitra 10 Mg Acquisto 5ml viagra online pharmacy Types Of Clonidine Cialis On Line Viagra Pagamento Contrassegno
Vendita Viagra In Contrassegno Skelaxin Can U Get Cialis On Line cialis Nuova Propecia Finasteride Canadaphamacy
Abilify Price Non Prescription Recette Viagra Costo Viagra cialis Buy Cialis Generic Online 5mg France Cialis Generico 20 Mg Opiniones
Purchase No Prescription Flagyl Pharmacy viagra Amoxicillin With A A45 Tadalafil 20mg
Lowest Price Viagra 100mg Levitra Ubers Internet cialis Generic Fluoxetine With Doctor Consult
Viagra Levitra Contre Cialis Potenzmittel Viagra Preisvergleich cialis Medicamento Cialis Precio
500 Milligrams Keflex Kamagra Prescrizione Usa Best Price Drugs 24 buy viagra Find Levaquin Without Rx On Line Amex Vente Cialis Generique Andorre Cialis Effetti Negativi

#9 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 13822 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 07/11/2017, 08:23

Cialis Generico Venta Cialis Canandien Amoxicillin High viagra Kamagra Shop 24
Albendazole Without A Prescription online pharmacy Priligy Usa Shipping Order Prednisone For Dogs Achat Cialis Fiable
Medikament Viagra 50 Mg viagra Meinungen Zu Priligy
Bactrim For Uti 3 Days viagra How To Buy Acticin

#10 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 07/11/2017, 20:20

Cephalexin Behavioral Side Effects Children buy viagra Viagra Jeune Homme Viagra Pflanzlich Todo Sobre El Viagra
Amoxicilina Internet Saturday Delivery Visa Accepted Green Viagra Pills cialis Gabapentin
Lasix Poland Viagra Aux Herbes Ultimate generic viagra Buy Synthroid Online No Prescriptionbuy Tadacip 20 Keflex Pulv Cialis In Sam Club
Where To Buy Lasix Water Pill Northwestern Canada Drugs Cephalexin 500mg Capsules levitra for sale online Will Lasix Help You Pass A Drug Test Canadian Pharmacy Online Express
Cialis Kaufen Hannover Vendita Cialis Tadalafil 20mg Price generic viagra Cialis No Me Hace Efecto Does Cialis Work Better With Aspirin Commander Cialis Quebec
Ambien Viagra Pharmacy Reviews whoesale levitra pills Proper Dose Of Amoxicillin For Dogs Buying Cytotec Online
Zoloft 5mg No Prescription Albuterol No Perception Needed online pharmacy Venta Cialis En Andorra Cephalexin Is Expired Is It Okay Where Can I Buy Levaquin No Prescription

#11 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 07/11/2017, 22:59

Buy Cheap Clomid Without Prescriptions cialis Rx Cheap Propecia
Legal Issues With Amoxicillin Airmail Pharmacy Uk Levitra Generique Belgique levitra en ligne canada want to buy real isotretinoin

#12 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 11724 posts

Posted 13/11/2017, 01:14

Tafidil Calis Alternative viagra online Amoxicillin Causes Diarrhea Where To Order Elocon Mometasona With Free Shipping New Orleans Levrita
Cialis 10 Opiniones Viagra Dal Canada viagra Acquisto Sildenafil 120 Mg Propecia Discount Merck

#13 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 17/11/2017, 13:04

Propecia En Madrid Bull 100 Sildenafil Citrate viagra No Pain Tooth Infection Nead Amoxicillin
500mg Amoxicillin viagra prescription Viagra Amazon Order Misoprostone Online Zithromax Australia
Genraic Viagra For Men Cialis 5 Mg Dosi online pharmacy Where Can I Buy Cialis Cheap Cialis Que Hace
Global Pharmacy Canada Cialis Diabete buy cialis Cialis Fast Overnight Online Indian Propecia Buying Viagra In Ireland
Easy Buy Viagra Pump It Global Caplet Ciaclis No Precrib cialis buy online Keflex Athletic Performance Cheap Canadian Hydrochlorothiazide Bupropion Recreational Use

#14 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 19/11/2017, 01:52

Discount Finasteride Online 5mg Cialis Price100 Mg Brand Viagra And Cialis viagra Us Pharmacy No Prescription Neurontin
Zithromax Uk Buy buy viagra online Cialis Viagra Difference Plavix Discount Canada1 Mg Prednisone No Scrip Levitra 10 Orodispersible Dysfonction
Phenergan Without Prescription Genraic Viagra For Men Canadian Pharmacies For Hydrocodone cialis price Getting Wellburion On Lones Online Pharmacy Europ No Prescription Acheter Levitra Generique En Ligne
Adult Amoxicillin Dosage How To Take Amoxicillin Cephalexin Expired Drug Ok viagra prescription Cialis Sample Pack
E Alopecia Finasteride Propecia online pharmacy Withdrawal Of Cephalexin Atlantic Drug Store Viagra Levitra Composicion
The Least Expensive Cialis cialis buy online Coversyl Amoxicillin Trihydrate 8.99 Zithromax Alternative
Original Viagra Nebenwirkungen Viagra Fiable Fincom 5 cialis Kamagra Oral Jelly Gunstig
Propecia Y Etanol buy accutane in usa Levitra France generic cialis Priligy Dapoxetina Ricetta
Propecia Hair Loss Treatment For Women viagra online pharmacy Generic Levaquin Medicine Website Cheapeast With Free Shipping
Viagra Ordonnancecialis Finasteride 1 Mg viagra Was Ist Kamagra Gold Comprar Cialis En Mano How Often Should You Take Cephalexin
Achat Finasteride Cual Es La Mejor Viagra Amoxicillin And Vitamin And Headache cialis price Buy Doxycycline Medication Online Beta Lactam Amoxicillin No Superinfection

#15 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 20/11/2017, 11:09

Amoxicillin To Purchase Online viagra Acheter Du Nizagara En Ligne Tretinoin Cream For Sale
Levitra Italia Pillole Cheapest Finasteride On The Web Cheap Cialis Without A Doctor best prices for on line levitra Priligy Really Work Generic Viagra American Express
Preis Propecia 98 Stuck buy viagra Buy Colchicine Tablets Online Wo Kann Man Viagra Kaufen Ohne Rezept Online Pharmacy Customer Care Services
Order Generic Propecia 1mg Order Generic Valtrex No Prescription Buy Vibramycin Doxycycline New Zealand generic levitra no prescription Priligy Kaufen Tegretol
Comprar Brand Kamagra Soft Keflex For Urinary Bladder Infection Where To Order Hydrochlorothiazide viagra Cialis Rembourse
Propecia Nioxin Thinning Hair viagra Discount Online Free Shipping Levaquin C.O.D. Next Day Mastercard
Canadianphamarcy24 Levitra 20 Mg Risultati Will Keflex Work On Vaginal Infections cialis Order Viagra Online Overnight Delivery
Cialis Soft Cialis Where Can I Buy Generic Provera Best Website Cytotec Erectile Disfunction viagra Comparatif Viagra Generique Levitra
Finasteride With Free Viagra Acquisto Cialis Viagra generic cialis Buycheapviagrausa Viagra E Dipendenza
Achat Cialis Allemagne viagra Buy Atomoxetine Online Acheter Pilule Propecia





Veja alguns posts relacionados com: XML, PHP

1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq