No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hi there. i have this rule on my .htacces... it works but give me errors in errors_log. [CODE] RewriteRule ^([0-9]+)-([^\/]+)/article.html$ article.php?id=$1 [nc,qsa] [/CODE] so ... the url is localhost/8000-article-title/article.html and it work. goes to the right article but the error_log show me [CODE][Tue Jul 12 14:18:14 2011] [error] [client xxx.xxx.xxx.x] … |
|
hi have the next code[CODE] <?php $search="ala salsa portocala nueve vacas"; $where="texto ala salsa nueve texto portocala verde nueve"; $search = explode(" ",$search); $old_kw = array($search['0'], $search['1'], $search['2'], $search['3']); $new_kw = array('<b>'.$search['0'].'</b>', '<b>'.$search['1'].'</b>', '<b>'.$search['2'].'</b>', '<b>'.$search['3'].'</b>'); $where = str_replace($old_kw, $new_kw, $where); echo $where; ?> [/CODE] because i just started to learn … |