Hello
Is there a easer way to make my PHP code to MYSQL request, instead of using the PHP code first the inserting the request in to mysql sow I can list out my right values.
<?
$day = date("w");
$day = $day == 0
? -6
: 1-$day;
$vecklypoll = date("Y-m-d", strtotime("$day days"));
$result = mysql_query("SELECT srvplon FROM srv_poll WHERE srvplde = '$vecklypoll'") or die (mysql_error());
$vecklyoption = mysql_fetch_array($result);
?>