Hi there 🙂 I'm back, the code works perfect. only one problem and this time it is a design issue.
Allow me to explain... I have the following code which is the table i would like to show my products in:
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table1">
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table2">
<tr>
<td width="26" height="21"></td>
<td width="155" height="21"></td>
<td height="21"></td>
<td width="18" height="21" valign="bottom"></td>
</tr>
<tr>
<td width="26"></td>
<td width="155" valign="top">
<p align="center">Main picture</td>
<td valign="top">
<table border="0" width="100%" cellspacing="0" cellpadding="0" id="table3">
<tr>
<td><font face="Verdana" size="1">Article</font></td>
<td width="83">info button</td>
</tr>
</table>
</td>
<td width="18"></td>
</tr>
<tr>
<td width="26"></td>
<td width="155">
<p align="center"><b><font face="Verdana" size="1">category</font></b></td>
<td></td>
<td width="18"></td>
</tr>
</table>
</td>
</tr>
</table>
As you can see it has what i spoke of when i asked the first question, the picture of an article is to the left, and the articles are on the right.
The problem is that i cannot under any circomstance get it to work with the code 🙁
The layout will alway's either messup, or the articles that share the same picture will be shown under the table.
The code is still the same, i just need them to work together...
$data = mysql_query("SELECT * FROM temp_26_01_2007_22_00_25 WHERE $field LIKE'%$find%'");
$find = strtoupper($find);
$find = strip_tags($find);
$find = trim ($find);
$oldarticle = "";
while($result = @mysql_fetch_array( $data ))
{
echo "<a href=".$result['url-big']."><img src=".$result['url-small']."></a>";
if ($oldarticle == $result['Article']) // If it is the same article
{
// Do nothing
}
else // If it is a new article
{
echo $result['Article:'];
$oldarticle = $result['Article'];
}
echo " ";
echo "<br>";
echo $result['zoek1'];
echo "<br>";
echo $result['zoek3'];
echo "<br>";
}
I wouldn't be asking these questions if i had the time to really look into it, the fact however is that i am creating this for an ill friend of mine who wanted to make a site where he could make categories of his life... and per category post some topics where he then will make a poem or a message...
Anyway, it is really important to me to get this fixed and i am even willing to compensate the person that solves my issue if that is allowed here at phpbuilder.
I hope someone can help me, at least thanks for reading through the issue at hand.
Sincerely,
Anne