I have a table which includes a list of some movies in my database. And i have this code to list them in my homepage;
Movie List
But i have a problem (which i didn't have before i upgraded to 4.7.3). First of all, when i try to add this code to a new node, when i click submit, i am getting a 403 error. I don't know what causes the problem, but i partially solved this problem by inserting the code directly from the database to the "node_revisions" table.
But still i have a problem;
the page links at the bottom of the page became faulty like;
php code;
echo "<a href='film_listesi?h=".$hdeg."&sr=".$dlsorter."&start=".$dlpagecount."'>".$pagenumb."</a> ";
result;
film_listesi%3Fh%3DDESC%2526sr%3Did%2526start%3D120
while it should look like;
film_listesi?h=DESC&sr=id&start=120
the thing i can't understand is, there are some other links on the same page that looks like them which doesn't have any problems, like;
the arrows on the top of the table that are used to sort the list;
phpcode;
<a href=film_listesi?h=ASC&sr=id&start=".$dlstart."><img border=0 src='http://www.hecatomber.org/files/a.jpg'></a>
result
film_listesi?h=ASC&sr=id&start=0
here is the entire code for the page;
<?
$dlsorter=$_GET["sr"];
$hdeg=$_GET["h"];
$dlstart=$_GET["start"];
if($dlsorter=="imdbid")
{
$dlsorter="imdbid";
}
elseif($dlsorter=="id")
{
$dlsorter="id";
}
elseif($dlsorter=="mname")
{
$dlsorter="mname";
}
else
{
$dlsorter="id";
}
if($hdeg=="ASC")
{
$hdeg="ASC";
}
else
{
$hdeg="DESC";
}
if(!isset($dlstart) || !is_numeric($dlstart))
{
$dlstart=0;
}
$dlquery=db_query("SELECT * FROM `movie`");
$dlrow=mysql_num_rows($dlquery);
//satır sayısı
echo "