$display_block[$n] .= "<tr bgcolor=dddddd>
<td class='listings'><a href='selected_ad.php?category=$table&ad_id=$ad_id' class='ri'>$title</a></td>
<td class='listings'>$user_name</td>
<td class='listings'>convert_date($date_posted)</td>
<td class='listings'>$$price.00</td>
<td class='listings'>$file_included</td></tr> ";
There is my code. The problem is the convert_date($date_posted) doesnt work. The function works outside of the $display_block but not inside of it because of the " "'s.
When the code is ran its displayed as convert_date(2004-11-19) -- e.g. just text.
Is there anyway around this to call a function inside of this $display_block?
Thanks in advance