Hi there, my english is not very good so Ill try to be short and understandeble.
I use GET function to include files to one table on my site.
like this
And Now i would like to display results of search in this table, I tried by setting action to index.php?id=zoom&di=search but it wont work. search.php is placed in zoom/search.php and using both POST and GET method but i cant make this work.
Hope u understand my problem.
Thanks in advance
I use GET function to include files to one table on my site.
like this
PHP Code:
if(isset($_GET['id']))
$id = $_GET['id'];
if(isset($_GET['di']))
$di = $_GET['di'];
if(isset($_GET['dd']))
$dd = $_GET['dd'];
if(!isset($id)) {
include("novosti/index.php");
}
else if(!isset($di)) {
include($id . "/index.php");
}
else if(!isset($dd)) {
include($id . "/" . $di . ".php");
}
else{
include($id . "/" . $di . "/" . $dd . ".php");
}
Hope u understand my problem.
Thanks in advance
Comment