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.
Posted on 29th May, 2017
JeffreyFlush
Шаблоны WordPress. Скачать бесплатно премиум шаблон Вордпресс — Страница 3 — Красивые шаблоны WordPress Click here...
Posted on 30th May, 2017
XRumerTest
Hello. And Bye.
Posted on 31st May, 2017
XRumerTest
Hello. And Bye.
Posted on 04th Jun, 2017
XRumerTest
Hello. And Bye.
Posted on 06th Jun, 2017
diegoPr
Want to make Website RSS Feed's - Post RSS Feed to Facebook Group ?.
Posted on 16th Jun, 2017
archyiigol
Магазин:
Продажи и Покупки Золото Архейдж

Контакты:
icq : 486-207-503
skype : arch-gold
Скидки на gold: Работаем 24/7
Гарантии, Аттестат высокий BL 250+

arch-gold.ru
Posted on 16th Jun, 2017
HostimanRuHen
украинский бесплатный хостинг
https://hostiman.ru/ - обзоры, отзывы и отзыв
Posted on 19th Jun, 2017
JeffreyFlush
резиновые — Шаблоны WordPress. Скачать бесплатно премиум шаблон Вордпресс Show more...
Posted on 22nd Jun, 2017
diegoPr
Want to make Website RSS - Auto Post to Facebook ?.
Posted on 10th Jul, 2017
XRumerTest
Hello. And Bye.
Posted on 11th Jul, 2017
TimothyFub
Hello! reputable online pharmacies no prescription requied great website.
Posted on 11th Jul, 2017
TimothyFub
Hello there! onlinepharmacy great site.
Posted on 11th Jul, 2017
TimothyFub
Hello there! [url=http://pharmacyonline.bid/]on line pharmacy[/url] good internet site.
Posted on 11th Jul, 2017
TimothyFub
Howdy! on line pharmacys for tramadol excellent internet site.
Posted on 11th Jul, 2017
TimothyFub
Hi! usa online pharmacies great web site.
Posted on 11th Jul, 2017
TimothyFub
Hello! online pharmacy no prescription great web page.
Posted on 12th Jul, 2017
Scottten
居酒屋。串燒。生啤 http://yakitori-izakaya.com/
Posted on 16th Jul, 2017
XRumerTest
Hello. And Bye.
Posted on 19th Jul, 2017
RalphCrefs
XYZ專業光碟教學網站 http://xyz.net.tw/
Posted on 20th Jul, 2017
AurelioMon
You don't want your passwords, logins, PIN-codes to be in the wrong hands one day? Would you like always to avoid the clever traps placed by the cunning Internet-walkers? So right now, install the best Site Checker extension! Site Checker causes irritation and hatred for every IT intruder who trades in fraud in the network Google chrome extension - Website security checker Site Age Validator

Your Answer:

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

Cheap Womens Timberland Boots, Women Timberland High Top Boots
[b]timberland discount shoes[/b] [b]discount timberland boots[/b] timberland outlet | timberland

Taking an HTML form and a PHP program and making it into one working file.
Hello,

So I would like to display everything INSIDE a specific directory. In other words, I

AAA Replica Franck Muller :
[b][url=http://www.besterwatch.co/]swiss replica watches aaa+[/url][/b] [b]swiss replica watches[/b

How to load mysql (and other) extensions into PHP
How to load mysql (and other) extensions into PHP PHP Development forum discussing coding practices,

PHP doesn't send my mail
Hi all, I found this and used it to send mail. Simple contact form with some required fields. The va

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