i cant seem to get it to work i just want it to trim the $row[business_name] could anyone help?
//displays the results
for($i = 0; $i < $num; $i++){
for ($count = 1; $row = mysql_fetch_assoc ($recent_result);++$count) {
// display format
?><table width="128" cellpadding="0" cellspacing="0" class="justadded"><!--DWLayoutTable--><tr><td width="130"><font color="#6C7885"><? echo substr('$row[business_name', 0, 4); ?>