try this:
$content = "<tr><td><font color=$_GET['color']>$_GET['name']</td><td><font color=$_GET['color']>$_GET['aim']</td><td><font color=$_GET['color']>$_GET['email']</td></tr>";
fwrite($fp, $content);
I re-wrote your code how I would write it.. see how that goes... (i didnt test cause im in office...
<?php
if (isset($_GET['name']) && isset($_GET['aim']) && isset($_GET['email']) && isset($_GET['color']))){
$fp = fopen("members.txt", "w");
$content = "<tr><td><font color=$_POST['color']>$_POST['name']</td><td><font color=$_POST['color']>$_POST['aim']</td><td><font color=$_POST['color']>$_GET_POST'email']</td></tr>";
fwrite($fp, $content);
}
?>
<FORM ACTION="<?php echo $PHP_SELF; ?>" METHOD="POST" NAME="form">
Name:
<input type="text" name="name"><br />
Aim:
<input type="text" value="Unavailable" name="aim"><br />
Email:
<input type="text" value="Unavailable" name="email"><br />
Color:
<input type="text" name="color">
<input type="submit" value="Add">
</form>
also you can find many javscript color pickers 😉
also i wouldnt store the entire table details in the text file, i would say store using a seperator (such as | pipe) and then split and format as you like later. that way if you change your format no need to re-write your text file.