How can I add a tab to the following line of code? I've tried every possible combination of escape char \t and " ".
echo "<td width=\"41%\"><strong><font face=\"Arial\" color=\"#800000\" size=\"2\">".stripslashes($row["sub_name"])."</td>";
Originally posted by PaulaRun echo "<td width=\"41%\"><strong><font face=\"Arial\" color=\"#800000\" size=\"2\">".stripslashes($row["sub_name"])."</td>";
Originally posted by PaulaRun
The tab won't be visible to the user who visits the page, only to you when you edit the file! <? echo "\t<td width=\"41%\"><strong><font face=\"Arial\" color=\"#800000\" size=\"2\">".stripslashes($row["sub_name"])."</td>"; ?> this should do it I think?
Thanks twopeak but that doesn't do it. I need to move the subcategory name over a couple of spaces. I've tried everything I can think of to concatenate a couple of spaces before the ".stripslashes($row["sub_name"])."
Well, it's HTML, innit?
&nbsp;&nbsp;
Or better yet, use styles.
You are right. Thanks!