/admin/autoupdate.php: line 1: ?php: No such file or directory
/admin/autoupdate.php: line 2: syntax error near unexpected token `"../includes/common.php"'
/autoupdate.php: line 2: `include("../includes/common.php");'
For the line 1 error, I checked the folders and files as the script seems to be calling for and they all do exist, so I'm totally lost. Here's the first lines of the script in question:
Code: Select all
<?php
include("../includes/common.php");
$currdate=date("Y-m-d");
//to set expired in extended ad
$q1="select * from $adm_postad where exexpdate='$currdate'";
$res1=mysql_query($q1,$con)Sdt