Gracias dano, al fin y al cabo habías tenido la razon, lo que pasaba es que las lineas que me dijiste las estaba metiendo en el lugar del script que no era, simplemente lo que tenía era esto:
Código :
$time = mysql_result($fewComments, $i, 'time');
print '<b>Nombre: </b>' . $name . '<br><b>Email: </b>' . $email . '<br><b>Ciudad: </b>' . $city . '<br><b>Comentarios: </b>' . $comments . '<br><i>Fecha: ' . $time . '</i><br><br>';
$i++; } }
if($_GET['NumLow'] > $numallComments) {
print 'No hay entradas&'; }
break;
case 'write' :
$name = ereg_replace("&", "%26", $_POST['yourname']);
$email = ereg_replace("&", "%26", $_POST['youremail']);
$city = ereg_replace("&", "%26", $_POST['yourcity']); //esta está agregada
$comments = ereg_replace("&", "%26", $_POST['yourcomments']);
$submit = $_POST['submit'];
$submitted_on = date ("Y-m-d H:i:s",time());//ojo con time
y lo solucioné con esto:
Código :
$time = mysql_result($fewComments, $i, 'time');
print '<b>Nombre: </b>' . $name . '<br><b>Email: </b>' . $email . '<br><b>Ciudad: </b>' . $city . '<br><b>Comentarios: </b>' . $comments . '<br><i>Fecha: ' . $time . '</i><br><br>';
$i++; } }
if($_GET['NumLow'] > $numallComments) {
print 'No hay entradas&'; }
break;
case 'write' :
$name = ereg_replace("&", "%26", $_POST['yourname']);
$email = ereg_replace("&", "%26", $_POST['youremail']);
$city = ereg_replace("&", "%26", $_POST['yourcity']); //esta está agregada
$comments = ereg_replace("&", "%26", $_POST['yourcomments']);
$submit = $_POST['submit'];
$resta = 5;
$tiempomed=gmdate("M d Y H:i:s", mktime(date("G")-$resta, date("i"), date("s"), date("n"), date("j"), date("Y")));
$submitted_on = $tiempomed;//ojo con time
Gracias por tu ayuda, En lo que pueda colaborarte (Cosa que dudo mucho) con gusto lo haré.

Buena estrella.