mmm ahora me devuelve esto:
Notice: Use of undefined constant test - assumed 'test' in /home/sensei/public_html/noticias.php on line 18
Notice: Undefined index: entrada in /home/sensei/public_html/noticias.php on line 42
titulo7
Notice: Undefined index: entrada in /home/sensei/public_html/noticias.php on line 42
titulo6
Notice: Undefined index: entrada in /home/sensei/public_html/noticias.php on line 42
titulo5
Notice: Undefined index: entrada in /home/sensei/public_html/noticias.php on line 42
titulo4
Notice: Undefined index: entrada in /home/sensei/public_html/noticias.php on line 42
titulo3
La linea 18
$section = (empty($_REQUEST["seccion"]) ? test : ($_REQUEST["seccion"]));
La linea 42
<td> '.$row['entrada'].'</td>
a ver que es jeje gracias por la ayuda

EDIT:
edito puesto que solucione los errores, el codigo ya mas o menos cuidado es:
<?phperror_reporting(E_ALL); $dbh = mysql_connect('localhost', 'user', 'pass'); mysql_select_db('sensei_blog', $dbh); $start = (empty($_REQUEST["start"]) ? 0 : ($_REQUEST["start"])); $section = (empty($_REQUEST["seccion"]) ? $section=test : ($_REQUEST["seccion"])); $not = (empty($_REQUEST["noticia"]) ? false : ($_REQUEST["noticia"])); $end = 5;if( $not == false){ $res = mysql_query("SELECT title, SUBSTRING(entrada,0,100) AS entrada FROM blog WHERE seccion='".$section."' ORDER BY id DESC LIMIT ".$start.",".$end."") or die('Error select_blog: '.mysql_error());}else{ $res = mysql_query("SELECT title, entrada FROM blog WHERE title ='".$title."' ORDER BY id DESC LIMIT ".$start.",".$end."") or die('Error select_blog: '.mysql_error());} $n = mysql_num_rows($res); while($row = mysql_fetch_array($res)) { echo' <a href=/?noticia='.$row['title'].'> <table> <tr> <td> '.$row['title'].'</td> <td>'.$row['entrada'].'</td> </tr> </table> </a>'; } if($start > 0) { echo '<div style="float:left"> <a href="?start='.($start - 5).'">NOTICIAS RECIENTES</a> </div>'; } if(($start + 5) <= $n) { echo '<div style="align:right"> <a href="?start='.($start + 5).'">NOTICIAS ANTERIORES</a> </div>'; }?>
El AS me dijeron que lo pusiera y navegue, e llegado a la conclusión quizá errónea que lo que hace es exportar ahí la nueva variable, el resultado eliminado. En cualquier caso sigo utilizando mal el SUBSTRING y por mas que e buscado no encuentro la solución, en todos los manuales viene lo mismo, y creo que es lo que hago no entiendo que hago mal. A ver si alguien ve el maldito error.
Prefiero hacerlo con SQL aun que sea quizá algo mas difícil o me este costando mas trabajo ya que mediante php es menos eficiente ya que recoge la cadena entera del sql para luego solo utilizar parte.