Home > Archive > PHP SQL > January 2005 > Mysql data in html table
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Mysql data in html table
|
|
| Irlan agous 2005-01-30, 3:56 pm |
| Hello all, i cant get something straight,
I have a table like this:
<table width="84%" border="1" align="center">
<tr>
<td width="23%">Oproep</td>
<td width="25%">reactie van u</td>
<td width="25%">reactie op u</td>
<td width="27%">datum match</td>
</tr>
</table>
/// then i have this data that i got from the database to put it in the
table
echo " <tr>\n";
echo " <td align=center bgcolor=FFECC4><a
href=\"javascript:Pop550Picture('../pic/klanten/gegevens.php?id=$id')\"><p>$oproep</a></td>\n";//
echo " <td align=center bgcolor=FFECC4><p>".$reactie."</td>\n";
echo " <td align=center bgcolor=FFECC4><p>".$dat."</td>\n";
echo " <td align=center bgcolor=FFECC4><a
href=\"javascript:openCentered('re.php?logid=$logid&logoproep=$logoproep&id=$id&reactie=JA&oproep=$oproep&date=$dat&persemail=$persemail& logemail=$logemail','codes','480','230',
'scrollbar=yes')\"><img
src=\"" . $fotoj . "\" border=1></a></td>\n";//
echo " </tr>\n";//
But it doesnt reallyt work, whats the problem here?
Irlan
| |
| no@emails.thx 2005-01-30, 3:56 pm |
| On Sun, 30 Jan 2005 16:23:48 +0100, "Irlan agous" <irlan345@msn.com>
wrote:
>Hello all, i cant get something straight,
>I have a table like this:
> <table width="84%" border="1" align="center">
> <tr>
> <td width="23%">Oproep</td>
> <td width="25%">reactie van u</td>
> <td width="25%">reactie op u</td>
> <td width="27%">datum match</td>
> </tr>
> </table>
>/// then i have this data that i got from the database to put it in the
>table
> echo " <tr>\n";
> echo " <td align=center bgcolor=FFECC4><a
>href=\"java script:Pop550Picture('../pic/klanten/gegevens.php?id=$id')\"><p>$oproep</a></td>\n";//
>
> echo " <td align=center bgcolor=FFECC4><p>".$reactie."</td>\n";
> echo " <td align=center bgcolor=FFECC4><p>".$dat."</td>\n";
>echo " <td align=center bgcolor=FFECC4><a
>href=\"java script:openCentered('re.php?logid=$logid&logoproep=$logoproep&id=$id&reactie=JA&oproep=$oproep&date=$dat&persemail=$persemail& logemail=$logemail','codes','480','230',
'scrollbar=yes')\"><img
>src=\"" . $fotoj . "\" border=1></a></td>\n";//
> echo " </tr>\n";//
>But it doesnt reallyt work, whats the problem here?
Hi Irlan
Need more info - "doesn't really work" doesn't really tell us much
about your problem. At first look you do not close you <p> tags -
there are no </p> tags, so that might cause a problem.
Chris
|
|
|
|
|