Jump to content

hamza

Members
  • Posts

    321
  • Joined

  • Last visited

Posts posted by hamza

  1. i assume the question is about the pedigree table displayed on that page. it's html tables. just View Source to see how it's done.

     

    I know these are tables but i need the logic behind.

    How i can make pedigre in php probid.

     

  2. wp-admin to admin rewrite i need ?

    my rules are

    #RewriteCond %{REQUEST_URI} wp-admin/
    #RewriteCond %{QUERY_STRING} !admin
    #RewriteRule .*\.php [F,L]
    #RewriteCond %{QUERY_STRING} !admin
    #RewriteRule ^wp-login/(.*) wp-admin/$1?%{QUERY_STRING}&/admin [L]
    #RewriteRule ^wp-login/(.*) wp-admin/$1?^admin$ [L]
    

     

    its not working please help

  3.  $s = JRequest::getCMD('option');      
             // $s = JRequest::getVar('option');
            if ( $s=="com_djcatalog2" ) { 
        some code
            } else {
        some code
          }

     

    every time i run this code condition is true no matter option varible is present in url

    or not option value is always true.

    i am not understanding where is the problem with this code please help me,.

  4. here is my search query  main table is deals.

    im using joins to match the selected field.

    the problem is that it is showing nothing.,in result

     

    SELECT *

          FROM `cs_deals`

              # Capital Type Joins

              INNER JOIN `cs_dealcapitaltype` ON cs_deals.deal_id = cs_dealcapitaltype.deal_id

              INNER JOIN `cs_capitaltype`   ON cs_dealcapitaltype.capital_type_id = cs_capitaltype.capital_type_id

              # Industry Type

              INNER JOIN `cs_dealsindustry` ON cs_deals.deal_id = cs_dealsindustry.deal_id

              INNER JOIN `cs_industry`     ON cs_industry.industry_id = cs_dealsindustry.industry_id

              # investment stages Joins

              INNER JOIN `cs_dealinvestmentstage` ON cs_deals.deal_id = cs_dealinvestmentstage.deal_id

              INNER JOIN `cs_investmentstage`    ON cs_investmentstage.investmentstage_id = cs_dealinvestmentstage.investmentstage_id

              # min/max investment Joins

              --  INNER JOIN `` ON .deal_id = cs_dealinvestmentstage.deal_id

     

     

          WHERE cs_dealcapitaltype.capital_type_id LIKE '%1%'                    # Likeing in junction table

          AND cs_dealsindustry.deal_id LIKE '%36%'          # Likeing in junction table

          AND cs_dealinvestmentstage.investmentstage_id LIKE '%5%'                    # Likeing in junction table

          AND  cs_deals.capital_ammount LIKE '%2%'            # Likeing in junction table

  5. how i can make current news and old news.

     

    When you add new news it becomes current and all other news becomes old.

     

    dear but what about today if i have 34 news in list so should i show 34 news current and other last days new

    old news.

    how i can differenciate or get from db.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.