Results 1 to 7 of 7

Thread: PHP, .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Mar:2005
    Location: Sofia
    Posts: 166

    PHP, .

    , :

    while ($arrRecords = mysql_fetch_array($dbRecords) ) {
    echo "<table style='border: 1px #6EA404 solid; -webkit-border-radius: 5px;' onMouseover='this.bgColor='yellow'' onMouseout='this.bgColor='#B0D925''><tr> <td>blablabla</td></tr></table>";
    }



    - onMouseover='this.bgColor='yellow'', yellow, , , . ?

  2. #2
    Registered User July666's Avatar
    Join Date: Jan:2009
    Location: Sofia
    Posts: 2,277
    \ :

    PHP Code:
    <?php
    while ($arrRecords mysql_fetch_array($dbRecords)) {
        echo 
    "<table style=\"border: 1px #6EA404 solid; -webkit-border-radius: 5px;\" onMouseover=\"this.bgColor='yellow'\" onMouseout=\"this.bgColor='#B0D925'\"><tr> <td>blablabla</td></tr></table>";
    }
    ?>
    Lenovo Y720; Samsung 850 Evo 1TB; Logitech G604; DELL U2410; Wacom Intuos 4L

  3. #3
    Registered User
    Join Date: Mar:2005
    Location: Sofia
    Posts: 166
    ,

  4. #4
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    , ( ) , , - , PHP, , . HEREDOC .
    , - ( -), , , , .

    July666, , , . , , , {} , . - echo '......'; , , 2(4) .

  5. #5
    Registered User
    Join Date: Mar:2005
    Location: Sofia
    Posts: 166
    ?

    echo "<table id='table' ...

    <input type="button" value="Hide - Fast" onclick="$('#table').hide('fast')" />

  6. #6
    Registered User July666's Avatar
    Join Date: Jan:2009
    Location: Sofia
    Posts: 2,277
    , jQuery.
    Lenovo Y720; Samsung 850 Evo 1TB; Logitech G604; DELL U2410; Wacom Intuos 4L

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |