catalankh
-
Posts
6 -
Joined
-
Last visited
Posts posted by catalankh
-
-
you can see my print_r it exactly <ul> and repeated when i open the browser first time it work perfectly when i click on tablet then go back to phone it'll display 3 time loop ok let see the real link http://www.sabaychet.com/allnews.php?ph_sc_sub_name=phone you click the tablet at your right hand then click the second menu or the upper of tablet (it my language) u'll see it loop 3 time is it because of catch??
-
i test my database on phpmyadmin SQL it work properly before i added into my code, and i double check my database it no doublication
-
it working perfectly in local but in my website it display 3 time per article why? here my print_r
PDOStatement Object ( [queryString] => SELECT `article`.`art_id` , `article`.`art_titleen` , `article`.`art_titlekh` , `article`.`art_postdate` , `article`.`art_detail` , `sub_menu`.`sub_name` FROM `article` , `sub_menu` WHERE `article`.`sub_name` = `sub_menu`.`sub_name` AND `article`.`sub_name` = 'phone' ORDER BY `article`.`art_postdate` DESC )
$dispart = fnc_select_article($targfields,$table,$field,$param,$targetfitler,"'".$andfilter."'"." ORDER BY art_postdate DESC LIMIT 0,8"); ?> <ul> <?php while($phdispart = $dispart->fetch(PDO::FETCH_ASSOC)){ echo '<li><a href="contentdetail.php?art_titleen='.$phdispart['art_titleen'].'"><h1>'.$phdispart['art_titlekh'].'</h1>'. substr($phdispart['art_detail'],0,100).'<p class="postdate">'.date("h:i a M j, Y ", strtotime($phdispart['art_postdate'])).'</p></a></li>'; } ?>
-
though to i write like that it not worke too
RewriteEngine On
RewriteRule ^menu/([0-9]+) menu.php?ph_sc_menu_id=$1
what's going on?
-
my mod_rewrite is not affect to my link why?
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REQUEST_URI} news/
RewriteCond %{REQUEST_URI} tips/
RewriteCond %{REQUEST_URI} views/
RewriteRule news/ menu.php?ph_sc_menu_id=1 [L]
RewriteRule tips/ menu.php?ph_sc_menu_id=2 [L]
RewriteRule views/ menu.php?ph_sc_menu_id=3 [L]
if i key on my url box it working but when i click my navigation menu it still display menu.php?ph_sc_menu_id=3
mod_rewrite not affect to my link
in Apache HTTP Server
Posted
cpd what the fucking going on with you why you always reply with hell worthless answer if you don't know or understand my question keep silent no one said you're blind or dump dam stupid