Jump to content

soundsticks

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by soundsticks

  1. I get the result from the other website and make it as array. And the output result like this, how can I store the result by each row to each field in the MySQL?

     

     

    Array

    (
        [0] => Array
            (
                [0] => 0148
                [1] => 5596
                [2] => 9358
                [3] => 0795
                [4] => 3729
            )
    )

     

  2. I would like to get the certain information but I couldn't parser it, it come with blank information.

    <?php
    include_once('./simple_html_dom.php');
    
    $html = file_get_html('http://www1.abs33.com/rs/index.php?result&date=05-06-2013');
    
    foreach ($html->find('*[class1]') as $a)
        foreach ($a->find('ul') as $q)
            echo $q;
    ?>
    
  3. How to parse third party website data to my database.

    <table width='220' id='tbllist'><caption><span id='class1' >MAGNUM</span></caption><tr><th>First</th><th>Second</th><th>Thrid</th></tr><tr><td align='center'><b>1935</b></td><td align='center'><b>8019</b></td><td align='center'><b>0842</b></td></tr><tr><td colspan='3' align='center'><div>Sepcial</div> <b> 2129 </b>  <b> 1121 </b>  <b> 0001 </b>  <b> 8457 </b>  <b> 3064 </b>  <b> 3974 </b>  <b> 7222 </b>  <b> 4612 </b>  <b> 1625 </b>  <b> 3245 </b> </td></tr><tr><td colspan='3' align='center'><div>Others</div> <b> 9048 </b>  <b> 0393 </b>  <b> 7221 </b>  <b> 8464 </b>  <b> 0076 </b>  <b> 4124 </b>  <b> 2222 </b>  <b> 9272 </b>  <b> 2088 </b>  <b> 4517 </b> </td></tr></table>
    

     

     

  4. Step 1: Add Javascript validation that validates after the user is finished inserting info.

    Step 2: Add PHP to check the submitted data when the user submits the form.

     

    But I'm using Ajax already on my register form and when user try to select/insert the user that he wish it will show whether the username is available or taken by others.  

  5. Currently I'm using Ajax to do the register validation, but I feel if the internet connection is not in good performance, sometime the Ajax is not working and it did make user register with the same username. So how can I do the double checking register validation.

×
×
  • 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.