android - Option menu is not working below api level 11 - in app have option menu work fine in above api level 11 in below api level 11 menu option not showing. shown in images in version 2.3.3(api level 10) in version 4.2(api level 18) Get link Facebook X Pinterest Email Other Apps Comments
apache - Remove .php and add trailing slash in url using htaccess not loading css - i have add following code htaccess file removing .php extension , add trailing slash urls. worked fine reduced page loading speed , css code not loading @ all. pages ugly. please help rewriteengine on rewritebase / ## hide .php extension snippet # externally redirect /dir/foo.php /dir/foo rewritecond %{the_request} ^[a-z]{3,}\s([^.]+)\.php [nc] rewriterule ^ %1/ [r,l] # add trailing slash rewritecond %{request_filename} !-f rewritecond %{request_uri} !/$ rewriterule . %{request_uri}/ [l,r=301] # internally forward /dir/foo /dir/foo.php rewritecond %{request_filename} !-d rewritecond %{request_filename}.php -f rewriterule ^(.*?)/?$ $1.php [l] we can rewrite urls using .htaccess files. before writing in .htaccess files need verify kind of server using. can check server adding a <?php phpinfo(); ?> in php page. ensure mod_rewrite module enabled in apache server. can identified checking phpinfo included page. common methods used url rewriting follows ... Read more
Reading inputs from Keyboard in Objective C - i new objective c . know c/c++ . want accept inputs keyboard, let assume program adding 2 numbers. so can use scanf("%d %d",&a,&b); ? objective c superset of regular c , can use c functions scanf() or getchar() , similar! Read more
sql - Duplicate Column name error while executing mysql query? - select t1.*,t2.* (select pp.id ppid, pp.*,tab3.*,tab2.* tab1 pp left join tab3 on pp.id = tab3.name_id left join tab2 on pp.id = tab2.name_id) t1 join ( select tab2.id colname_id,tab2.*,tab3.* tab2 left join tab3 on tab2.coltestconsent_id = tab3.coltestconsent_id ) t2 t1.ppid = t2.colname_id; description:above query not running creating error: error code : 1060 duplicate column name 'id' to make above query work had put column name instead of "*" below : select t1.*,t2.* (select pp.first_name,pp.id ppid,tab3.id coltestrisk_id,tab2.id coltest_id tab1 pp left join tab3 on pp.id = tab3.name_id left join tab2 on pp.id = tab2.name_id) t1 join ( select tab2.coltestconsent_id coltestconsent_id,tab3.coltestconsent_id colriskconsent_id,tab2.name_id colname_id,tab3.name_id coltest_nameid tab2 left join tab3 on tab2.coltestconsent_id = tab3.coltestconsent_id ) t2 t1.ppid = t2.colname_id; requirement: want fetch column value of tables. every tab... Read more
Comments
Post a Comment