Multidimensional Array into an Html table, help!


Posted on 16th Feb 2014 01:33 pm by admin

Hello all, I am new to HTML/PHP so any help would be great.

I have a multidimensional array filled with values that I am trying to output into an html table.

This works (outputs value of array):
Code: echo $table[0][0];

This does not work (outputs "Array[0]" instead of the actual value within the table):
Code: echo "<table border = 1>n";
echo "<td>Col 1</td><td>Col 2</td><td>Col 3</td>";
echo "</tr>n";
echo "<td>$table[0][0]</td><td>$table[0][0]</td><td>$table[0][0]</td>";
echo "</table>n";


I was going to use a couple of loops to output the array into the table however the way I have above is not working and really screwing me up. Does anyone have a solution? Thanks

Posted on 21st May, 2014
Admin
No <tr> tag found after table tag
Posted on 15th Feb, 2017
AnnHasfibre
Hi! My name is Annie Haslow. I'm SEO in Indian pharm company "PanjabPharm".
We produce many items of quality drugs but due to Big Pharma patents we are unable to supply you with it.
Our engeneers have more than 20 years expirience in complex med researches. So my only way to let you know about us is to send this message.
Welcome to our site! http://ow.ly/zuWZ308N9At
Posted on 15th Feb, 2017
AnnHasfibre
Hi! My name is Annie Haslow. I'm SEO in Indian pharm company "PanjabPharm".
We produce many items of quality drugs but due to Big Pharma patents we are unable to supply you with it.
Our engeneers have more than 20 years expirience in complex med researches. So my only way to let you know about us is to send this message.
Welcome to our site! http://ow.ly/zuWZ308N9At
Posted on 17th Mar, 2017
Aureliobuipt
[img]http://progoni-xrumer.ru/images/1232325-min.jpg[/img]

У вашего сайта нет ТИЦ и посещаемости? Это не беда, предлагаем уникальную услугу
по подъему ТИЦ и посещаемости сделать заказ и ознакомится с услугой
вы можете у нас на сайте [url=http://progoni-xrumer.ru]progoni-xrumer[/url]
Так же вы можете зарегистрировать самый надежный и недорогой хостинг [url=http://progoni-xrumer.ru/hosting.html]недорогой хостинг для ваших сайтов[/url]
И зарегистрировать RU по 90р. [url=http://progoni-xrumer.ru/domen.html]RU домены за 90 рублей[/url]
Posted on 21st Mar, 2017
BrianTef
Скидка на Konasov и многое другое на https://goo.gl/uI97gj !
Posted on 30th Mar, 2017
XRumerTest
Hello. And Bye.
Posted on 02nd Apr, 2017
Mindyuc
[url=https://fiberam-market.ru]Купить списанные цветы дешево[/url] Простоят один день.
Тухлые продукты продают тут: https://fiberam-market.ru fiberam@bk.ru
Здесь продают вялые цветы: http://www.цветы-здесь.рф/
Трамадол без рецепта, наркоту купить можно здесь: http://fiberam-farma.ru
Тухлые продукты и вялые цыеты тут: https://fiberam-market.ru
Posted on 08th Apr, 2017
Shawndub
Hey! I’m on a2a online shopping platform to enjoy FREE shopping!

This platform offers us two easy ways to collect Loyalty Points to redeem FREE products/vouchers:

(1) Shop online at major e-Shopping Platforms such as Lazada, Zalora, Qoo10, Bonia etc and at a2a mall with more than 6,000,000 products
(2) Refer your loved ones/friends to this platform.

You can also earn auto-generated System Income while you sleep!

Click here to find out more:
http://www.a2a.network/home/?rapid=100035

???? Refereral ID : 100035
???? WhatsApp : Eric +65 9382 6593
Posted on 09th Apr, 2017
OlegJuigo
Некоторое время познавал данные сети интернет, неожиданно к своему восторгу увидел лучший ресурс. Посмотрите: [url=http://ellemarket.com/artropant-krem.html]крем артропант купить[/url] . Для моих близких этот веб-сайт оказался очень неплохим. Всего доброго!
Posted on 21st Apr, 2017
XRumerTest
Hello. And Bye.
Posted on 23rd Apr, 2017
diegoPr
Hello Want to Make money with sending Newsletters?


Buy email list to generate sales leads from email marketing campaign. mailinglist24.com Group a trusted email lists provider for marketers across the globe. - [url=http://mailinglist24.com]Buy Now EMAIL LIST[/url]


[url=http://mailinglist24.com][img]http://s27.postimg.org/f3k0etgsz/top_email_lists.png[/img][/url]
Posted on 06th May, 2017
XRumerTest
Hello. And Bye.
Posted on 08th May, 2017
Ambrosebeala
Watcha !
Millions of men can't be wrong. Best new natural male enhancement formula.
It's worth your time.
Click below
If you are a guy 45+2
Doctor Approved Erection Pills
Posted on 09th May, 2017
Andrewhymn
Hello this is for you


Buy 2017 Email Databases - 500+ Million Emails Worldwide - www.buy-email.com500+ Million Emails, 100+ Countries, B2B, B2C, 24*7 Support, Instant Download! Top Quality · 2017 fresh and updated · 24x7 Support - Buy Now EMAIL LIST


http://s7.postimg.org/fo0vgeo97/where-to-buy-email-databases-1030x579.jpg
Posted on 09th May, 2017
diegoPr
Hi Want to grow your business?


Worldwide Email Marketing Lists Contact Name, Email, 80 Countries.Top Executives Lists · Categorized Email List · Fresh 2017 Leads- Buy Now EMAIL LIST


http://s18.postimg.org/75g9t04e1/e-marketing.png
Posted on 10th May, 2017
diegoPr
Need to increase traffic Site RSS Feed's - Auto Post to Facebook ?.
Posted on 11th May, 2017
diegoPr
Hello this is for you


he latest trend for a low-cost, faster ROI and effective marketing is to buy an email list and send your message out to multiple prospects very fast. However ... - Buy Now EMAIL LIST


http://s7.postimg.org/fo0vgeo97/where-to-buy-email-databases-1030x579.jpg
Posted on 11th May, 2017
diegoPr
Need to increase traffic Website RSS - Post RSS Feed to Facebook Group ?.
Posted on 13th May, 2017
JeffreyFlush
Aqueduct — Шаблоны WordPress. Скачать бесплатно премиум шаблон Вордпресс Show more!
Posted on 16th May, 2017
diegoPr
Want to Improve Blog RSS Feed's - Post RSS Feed to Social Networks ?.
Posted on 17th May, 2017
XRumerTest
Hello. And Bye.
Posted on 19th May, 2017
diegoPr
Need to Improve Website RssFeed - RSS Feed to Facebook?.
Posted on 23rd May, 2017
Niklmask


Выкуп авто
Блог компании автовыкуп скупка авто, моментальный автовыкуп. реально даем до 90% от рыночной стоимости стоимости автомобиля.
https://vikupauto.in.ua/blogh - куплю авто



https://vikupauto.in.ua/news/pokupka_ochieriednogho_avto - деньги под залог авто
Posted on 25th May, 2017
XRumerTest
Hello. And Bye.

Your Answer:

Login to answer
111 Like 23 Dislike
Previous forums Next forums
Other forums

Please help - should be a simple fix.. driving me nuts
Everything seemed to be working fine. I have a table, it alphabetically lists a bunch of cities and

Ignore html and bbcode?
I've created a function to limit the amount of text according to the amount of words.

However

Franck Muller Watches,Replica Franck Muller Watches,Fake Franck Muller Watches,Franck Muller Watches Sale,Discount Watches,Buy Replica Watch
[b][url=http://www.bestwatchreplica.net/a.lange-&-sohne-watches-c-268.html]A.Lange & Sohne Watches[/

Parse Error with doctype
I'm getting a parse error with this simple code. I don't get it. It worked one time then when I relo

remove a ; from emails in textarea
Code: <?php

session_start();

$database_host = "localhost&qu

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Google+ Indyaspeak @ Pinterest RSS