Gerenate tabel in Php


Posted on 16th Feb 2014 07:03 pm by admin

I whant to generate a tabel takeing data from database like this one so the results to be display on 2 columns


<table width="50%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>Picture 1</td>
<td>Details 1</td>
<td width="30">&nbsp;</td>
<td>Picture 2</td>
<td>Detalii 2</td>
</tr>
<tr>
<td>Picture 3</td>
<td>Details 3</td>
<td>&nbsp;</td>
<td>Picture 4</td>
<td>Details 4</td>
</tr>
<tr>
<td>Picture 5</td>
<td>Details 5</td>
<td>&nbsp;</td>
<td>Picture 6</td>
<td>Details 6</td>
</tr>
<tr>
<td>Picture 7</td>
<td>Details 7</td>
<td>&nbsp;</td>
<td>Picture 8</td>
<td>Details 8</td>
</tr>
</table>

Thank you

No comments posted yet

Your Answer:

Login to answer
303 Like 25 Dislike
Previous forums Next forums
Other forums

Convert array to string and write to csv file
I am looking to write a MySQL query to a csv file.

At the minute I:

check for the orig

newbie question about multiple queries
hi everyone,
I'm sorry to ask such a basic question, but I'm young and trying to learn php on my

re calling a function without including file
Hi,
i am new to programming in php, i was just checking the wordpress code and found out in the w

$_POST variable un-useable
I'm trying to use a $_POST variable in a mysql update statement but i can't use it for some unknown

Quick fix: Conditional statement with an array
Hi, I'm getting the temperature value off of the Environment Canada website along with the icon file

UDP Multicast question
Hey,

Im not really in the know when it comes to network related programming and activitie

AUTONUMBER PROBLEM
Hello Everyone,

My name is Jones and i am new to this forum and to oracle. I am using ora

matching numbers inside ( )
I know I can match numbers by just [0-9]+, so I thought matching numbers inside ( ) would be somethi

regex for quoted text within a string
I am still getting the hang of regex expressions, but I cant seem to figure out how I would escape q

error with opendir
when i do this

if ($handle = opendir($dir)) {
while (false !== ($file = readdir($han

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



Play Free Quiz and Win Cash