Bueno, tenías razón, me estaba liando.
Al final este es el código:
<?php
$dia_actual = date("l");
$fecha_actual = date("Y-m-d");
$link = mysql_connect("mysql13.000webhost.com","a4047274_noticias","******");
mysql_select_db("a4047274_noticias", $link);
if(strcmp($dia_actual, "Monday")== 0){
$fecha_1 = $fecha_actual;
$fecha_1 = date ( 'Y-m-j' , $fecha_1);
$fecha_2 = strtotime ('+6 day', strtotime ($fecha_actual));
$fecha_2 = date ( 'Y-m-j' , $fecha_2);
}
else if(strcmp($dia_actual, "Tuesday")== 0){
$fecha_1 = strtotime ('-1 day', strtotime ($fecha_actual));
$fecha_1 = date ( 'Y-m-j' , $fecha_1);
$fecha_2 = strtotime ('+5 day', strtotime ($fecha_actual));
$fecha_2 = date ( 'Y-m-j' , $fecha_2);
}
else if(strcmp($dia_actual, "Wednesday")== 0){
$fecha_1 = strtotime ('-2 day', strtotime ($fecha_actual));
$fecha_1 = date ( 'Y-m-j' , $fecha_1);
$fecha_2 = strtotime ('+4 day', strtotime ($fecha_actual));
$fecha_2 = date ( 'Y-m-j' , $fecha_2);
}
else if(strcmp($dia_actual, "Thursday")== 0){
$fecha_1 = strtotime ('-3 day', strtotime ($fecha_actual));
$fecha_1 = date ( 'Y-m-j' , $fecha_1);
$fecha_2 = strtotime ('+3 day', strtotime ($fecha_actual));
$fecha_2 = date ( 'Y-m-j' , $fecha_2);
}
else if(strcmp($dia_actual, "Friday")== 0){
$fecha_1 = strtotime ('-4 day', strtotime ($fecha_actual));
$fecha_1 = date ( 'Y-m-j' , $fecha_1);
$fecha_2 = strtotime ('+2 day', strtotime ($fecha_actual));
$fecha_2 = date ( 'Y-m-j' , $fecha_2);
}
else if(strcmp($dia_actual, "Saturday")== 0){
$fecha_1 = strtotime ('-5 day', strtotime ($fecha_actual));
$fecha_1 = date ( 'Y-m-j' , $fecha_1);
$fecha_2 = strtotime ('+1 day', strtotime ($fecha_actual));
$fecha_2 = date ( 'Y-m-j' , $fecha_2);
}
else if(strcmp($dia_actual, "Sunday")== 0){
$fecha_1 = strtotime ('-6 day', strtotime ($fecha_actual));
$fecha_1 = date ( 'Y-m-j' , $fecha_1);
$fecha_2 = $fecha_actual;
$fecha_2 = date ( 'Y-m-j' , $fecha_2);
}
$result = mysql_query("SELECT * FROM valencia WHERE fecha_inicio BETWEEN '$fecha_1' AND '$fecha_2'", $link);
while($row = mysql_fetch_array($result)){
echo "<hr>";
echo "Pueblo: ".$row['pueblo']."<br>";
echo "Noticia: ".$row['noticia']."<br>";
echo "Comentarios: ".$row['comentarios']."<br>";
}
mysql_free_result($result);
mysql_close($link);
echo "<hr>";
?>
Y funciona!!! Gracias por haberme ayudado. Creo que sin tu ayuda no lo hubiese conseguido.